summaryrefslogtreecommitdiff
path: root/src/application/mystic
diff options
context:
space:
mode:
authorJonas Kohl2024-09-19 11:28:12 +0200
committerJonas Kohl2024-09-19 11:28:12 +0200
commit35db6e71fc7196af1757be17d2a3919246476683 (patch)
tree07e7c6ddd3260cdbe7e662f434f1407a37c832d1 /src/application/mystic
parent01454544896827113e49db0d2848b5aab6ce14ae (diff)
Add password reset
Diffstat (limited to 'src/application/mystic')
-rw-r--r--src/application/mystic/forum/orm/User.php2
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;