mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-09-24 10:27:46 +02:00
Cleanup
This commit is contained in:
parent
535110c9e6
commit
ce8e6f966d
@ -71,7 +71,7 @@ class AccountController extends Controller
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// create a form to add and enable 2FA via TOTP
|
// form to add, remove, enable & disable 2FA via TOTP
|
||||||
|
|
||||||
if ( $user->can('user/two-factor-authentication') ) {
|
if ( $user->can('user/two-factor-authentication') ) {
|
||||||
if (isset($_POST['enabled_2fa'])) {
|
if (isset($_POST['enabled_2fa'])) {
|
||||||
@ -88,8 +88,6 @@ class AccountController extends Controller
|
|||||||
)), $user));
|
)), $user));
|
||||||
}
|
}
|
||||||
|
|
||||||
// $db = Icinga::app()->;
|
|
||||||
// Totp::on()
|
|
||||||
$totpForm->handleRequest();
|
$totpForm->handleRequest();
|
||||||
|
|
||||||
$this->view->totpForm = $totpForm;
|
$this->view->totpForm = $totpForm;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user