Skip to content

Commit

Permalink
Merge pull request #27 from GeneralMagicio/fixEmailConfirmationReset
Browse files Browse the repository at this point in the history
fix problem in email confirmation reset
  • Loading branch information
ae2079 authored Aug 20, 2024
2 parents 2fad242 + 62aed4b commit 2041cfe
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/resolvers/userResolver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -189,8 +189,12 @@ export class UserResolver {
emailConfirmationSent: false,
emailConfirmationSentAt: null,
});
dbUser.emailConfirmed = false;
dbUser.emailConfirmedAt = null;
dbUser.emailConfirmationSent = false;
dbUser.emailConfirmationSentAt = null;
dbUser.email = email;
}
dbUser.email = email;
}
if (url !== undefined) {
dbUser.url = url;
Expand Down

0 comments on commit 2041cfe

Please sign in to comment.