mirror of
https://github.com/postfixadmin/postfixadmin.git
synced 2024-09-19 19:22:14 +02:00
formatting
This commit is contained in:
parent
2faa37e04c
commit
31d4407b4e
@ -272,7 +272,7 @@ class TotpPf
|
|||||||
}
|
}
|
||||||
} elseif (authentication_has_role('global-admin')) {
|
} elseif (authentication_has_role('global-admin')) {
|
||||||
$admin = 2;
|
$admin = 2;
|
||||||
// can do anything
|
// can do anything
|
||||||
} else {
|
} else {
|
||||||
// force the current user to also be the exemption username.
|
// force the current user to also be the exemption username.
|
||||||
$exception_username = $username;
|
$exception_username = $username;
|
||||||
|
@ -65,7 +65,7 @@ if ($_SERVER['REQUEST_METHOD'] == "POST") {
|
|||||||
$error = 0;
|
$error = 0;
|
||||||
|
|
||||||
if (!$login->login($username, $fPassword_current)) {
|
if (!$login->login($username, $fPassword_current)) {
|
||||||
$error ++;
|
$error++;
|
||||||
$pPassword_password_current_text = $PALANG['pPassword_password_current_text_error'];
|
$pPassword_password_current_text = $PALANG['pPassword_password_current_text_error'];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user