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

Merge branch 'master' into 'master'

fixing the admin mode without TOTP

See merge request !19
parents d21cdd34 f5de2cb7
Branches
Tags v2.6.1
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