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 11, 2024
1 parent 6dc400e commit b050be7
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 @@ -146,8 +146,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 b050be7

Please sign in to comment.