Skip to content
Snippets Groups Projects
Commit f5de2cb7 authored by Tomasz Wolniewicz's avatar Tomasz Wolniewicz
Browse files

fixing the admin mode without TOTP

parent 5bd856c8
No related branches found
No related tags found
1 merge request!19fixing the admin mode without TOTP
...@@ -189,7 +189,7 @@ $mgm->setPostVar(); ...@@ -189,7 +189,7 @@ $mgm->setPostVar();
Utils::debug(5, "This run OTP status: ". $mgm->otp_succeeded."\n"); 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"); require(eduGAIN_config . "database_policy.php");
else else
require(eduGAIN_config . "database_rw.php"); require(eduGAIN_config . "database_rw.php");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment