mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-23 18:28:49 +02:00
Redirect user if it need to add an 2FA method or need to change password
This commit is contained in:
parent
3db0baa5e5
commit
cdd5027ee8
5 changed files with 184 additions and 2 deletions
|
@ -205,7 +205,7 @@ class User extends AttachmentContainingDBElement implements UserInterface, HasPe
|
|||
protected $trustedDeviceCookieVersion = 0;
|
||||
|
||||
/** @var Collection<TwoFactorKeyInterface>
|
||||
* @ORM\OneToMany(targetEntity="App\Entity\UserSystem\U2FKey", mappedBy="user")
|
||||
* @ORM\OneToMany(targetEntity="App\Entity\UserSystem\U2FKey", mappedBy="user", cascade={"REMOVE"}, orphanRemoval=true)
|
||||
*/
|
||||
protected $u2fKeys;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue