aboutsummaryrefslogtreecommitdiff
path: root/src/server/authentication/models/User.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/authentication/models/User.ts')
-rw-r--r--src/server/authentication/models/User.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/authentication/models/User.ts b/src/server/authentication/models/User.ts
index 30fcecd81..433e2f6c3 100644
--- a/src/server/authentication/models/User.ts
+++ b/src/server/authentication/models/User.ts
@@ -18,8 +18,8 @@ mongoose.connection.on('disconnected', function () {
export type UserModel = mongoose.Document & {
email: string,
password: string,
- passwordResetToken: string,
- passwordResetExpires: Date,
+ passwordResetToken: string | undefined,
+ passwordResetExpires: Date | undefined,
tokens: AuthToken[],
profile: {