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:
parent
bedd0ddfa8
commit
5d56ff1e8e
2 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue