Skip to content

Commit

Permalink
feat: dont keep email token valid, will be process in upstream
Browse files Browse the repository at this point in the history
  • Loading branch information
darkskygit committed Mar 5, 2024
1 parent 110440b commit d8287d7
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/backend/server/src/core/auth/controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,6 @@ export class AuthController {

const valid = await this.token.verifyToken(TokenType.SignIn, token, {
credential: email,
// don't revoke the token to avoid email client prefetching touch link
keep: true,
});

if (!valid) {
Expand Down

0 comments on commit d8287d7

Please sign in to comment.