fixed bug that caused exception with wront access credentials
This commit is contained in:
parent
af52a36f3d
commit
f1b50186fb
1 changed files with 3 additions and 4 deletions
|
@ -132,9 +132,8 @@ function checkAuth(appObj) {
|
||||||
|
|
||||||
if (appObj!=null && appObj.isActive()) {
|
if (appObj!=null && appObj.isActive()) {
|
||||||
// check against application
|
// check against application
|
||||||
var appUsername = appObj.getProperty("adminusername");
|
adminAccess = appObj.getProperty("adminAccess");
|
||||||
var appPassword = appObj.getProperty("adminpassword");
|
if (md5key==adminAccess)
|
||||||
if ( md5username==appUsername && md5password==appPassword )
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
return forceAuth();
|
return forceAuth();
|
||||||
|
|
Loading…
Add table
Reference in a new issue