Skip to content
Snippets Groups Projects

fixing the admin mode without TOTP

1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
+ 1
1
@@ -189,7 +189,7 @@ $mgm->setPostVar();
Utils::debug(5, "This run OTP status: ". $mgm->otp_succeeded."\n");
if ($mgm->otp_succeeded == 1)
if ((LOCAL_AUTH == true && OTP_SERVER == null && $mgm->admin == 1) || $mgm->otp_succeeded == 1)
require(eduGAIN_config . "database_policy.php");
else
require(eduGAIN_config . "database_rw.php");
Loading