diff options
author | Puyodead1 <puyodead@protonmail.com> | 2023-02-24 01:54:10 -0500 |
---|---|---|
committer | Puyodead1 <puyodead@protonmail.com> | 2023-02-24 01:54:10 -0500 |
commit | 05453ec14880732c5d0d20fd3575bb2b3952760d (patch) | |
tree | c3b7272d7eafff2e988702b9bf3b93f24a101881 /src/util/entities/User.ts | |
parent | add SendGrid transport (diff) | |
download | server-05453ec14880732c5d0d20fd3575bb2b3952760d.tar.xz |
implement password reset
Diffstat (limited to 'src/util/entities/User.ts')
-rw-r--r-- | src/util/entities/User.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/entities/User.ts b/src/util/entities/User.ts index 2947b205..f99a85e7 100644 --- a/src/util/entities/User.ts +++ b/src/util/entities/User.ts @@ -393,7 +393,7 @@ export class User extends BaseClass { // send verification email if users aren't verified by default and we have an email if (!Config.get().defaults.user.verified && email) { - await Email.sendVerificationEmail(user, email).catch((e) => { + await Email.sendVerifyEmail(user, email).catch((e) => { console.error( `Failed to send verification email to ${user.username}#${user.discriminator}: ${e}`, ); |