mirror of
https://github.com/slawkens/myaac.git
synced 2026-01-22 22:16:22 +01:00
17 lines
334 B
PHP
17 lines
334 B
PHP
<?php
|
|
defined('MYAAC') or die('Direct access not allowed!');
|
|
|
|
require __DIR__ . '/../base.php';
|
|
|
|
if (!$account_logged->isLoaded()) {
|
|
error('Account not found!');
|
|
return;
|
|
}
|
|
|
|
$twoFactorAuth->disable();
|
|
|
|
$twig->display('success.html.twig', [
|
|
'title' => 'Disabled',
|
|
'description' => 'Two Factor Authentication has been disabled.'
|
|
]);
|