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()) { 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();
} }