mirror of
https://github.com/danpros/htmly.git
synced 2026-04-17 11:16:00 +05:30
Update htmly.php
This commit is contained in:
parent
c0bcb5c5cc
commit
015e631e27
1 changed files with 1 additions and 1 deletions
|
|
@ -148,7 +148,7 @@ post('/login', function () {
|
|||
$pass = from($_REQUEST, 'password');
|
||||
$mfa_secret = user('mfa_secret', $user);
|
||||
if ($proper && $captcha && !empty($user) && !empty($pass)) {
|
||||
if (!is_null($mfa_secret) && $mfa_secret !== "disabled") {
|
||||
if (!is_null($mfa_secret) && $mfa_secret !== "disabled" && config('mfa.state') === 'true') {
|
||||
config('views.root', 'system/admin/views');
|
||||
|
||||
render('login-mfa', array(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue