1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-09-15 18:57:05 +00:00

fixup! Add a two-step setup of OTP

Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
This commit is contained in:
Kevin Decherf 2025-07-19 02:38:48 +02:00
parent bedd0ddfa8
commit 5d56ff1e8e
2 changed files with 2 additions and 2 deletions

View file

@ -20,7 +20,7 @@ final class Version20250413133131 extends WallabagMigration
$userTable->addColumn('googleauthenticator', 'boolean', [ $userTable->addColumn('googleauthenticator', 'boolean', [
'default' => false, 'default' => false,
'notnull' => false, 'notnull' => true,
]); ]);
} }

View file

@ -148,7 +148,7 @@ class User extends BaseUser implements EmailTwoFactorInterface, GoogleTwoFactorI
private $googleAuthenticatorSecret; private $googleAuthenticatorSecret;
#[ORM\Column(name: 'googleAuthenticator', type: 'boolean')] #[ORM\Column(name: 'googleAuthenticator', type: 'boolean')]
private $googleAuthenticator; private $googleAuthenticator = false;
/** /**
* @var array * @var array