This commit is contained in:
Damodar Lohani
2024-04-24 06:30:32 +05:45
committed by GitHub
parent 083c220e37
commit dc3aa5e12f
+1 -1
View File
@@ -281,7 +281,7 @@ App::init()
throw new Exception(Exception::USER_PASSWORD_RESET_REQUIRED);
}
if ($mode !== APP_MODE_ADMIN && !Auth::isPrivilegedUser(Authorization::getRoles())) {
if ($mode !== APP_MODE_ADMIN) {
$mfaEnabled = $user->getAttribute('mfa', false);
$hasVerifiedEmail = $user->getAttribute('emailVerification', false);
$hasVerifiedPhone = $user->getAttribute('phoneVerification', false);