mirror of
https://github.com/slawkens/myaac.git
synced 2026-01-23 14:36:22 +01:00
Update enable.php
This commit is contained in:
@@ -26,8 +26,6 @@ if (ACTION == 'request') {
|
||||
|
||||
$accountKey = $account_logged->getCustomField('key');
|
||||
if (!empty($key) && $key == $accountKey) {
|
||||
$clock = new NativeClock();
|
||||
|
||||
$secret = getSession('2fa_secret');
|
||||
if ($secret === null) {
|
||||
$secret = generateRandom2faSecret();
|
||||
|
||||
Reference in New Issue
Block a user