diff options
author | Jonas Kohl | 2024-09-19 11:28:12 +0200 |
---|---|---|
committer | Jonas Kohl | 2024-09-19 11:28:12 +0200 |
commit | 35db6e71fc7196af1757be17d2a3919246476683 (patch) | |
tree | 07e7c6ddd3260cdbe7e662f434f1407a37c832d1 /src/application/mystic/forum/orm/User.php | |
parent | 01454544896827113e49db0d2848b5aab6ce14ae (diff) |
Add password reset
Diffstat (limited to 'src/application/mystic/forum/orm/User.php')
-rw-r--r-- | src/application/mystic/forum/orm/User.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/application/mystic/forum/orm/User.php b/src/application/mystic/forum/orm/User.php index 97acbaf..1bf02f1 100644 --- a/src/application/mystic/forum/orm/User.php +++ b/src/application/mystic/forum/orm/User.php @@ -23,6 +23,8 @@ class User extends Entity { public bool $passwordResetRequired; public string $activationToken; public bool $activated; + #[Unique] public ?string $passwordResetToken; + public ?\DateTimeImmutable $passwordResetTokenCreated; #[Column(columnType: "bytea")] public ?string $profilePicture; public ?\DateTimeImmutable $nameLastChanged; |