fixed bug that caused exception with wront access credentials

This commit is contained in:
Tobi Schäfer 2004-04-28 11:09:39 +00:00
parent af52a36f3d
commit f1b50186fb

View file

@ -132,10 +132,9 @@ function checkAuth(appObj) {
if (appObj!=null && appObj.isActive()) {
// check against application
var appUsername = appObj.getProperty("adminusername");
var appPassword = appObj.getProperty("adminpassword");
if ( md5username==appUsername && md5password==appPassword )
return true;
adminAccess = appObj.getProperty("adminAccess");
if (md5key==adminAccess)
return true;
}
return forceAuth();
}