remove token
This commit is contained in:
@@ -150,7 +150,7 @@ export class UsersService {
|
||||
throw new HttpException('Invalid token', 401);
|
||||
}
|
||||
|
||||
// this.tokenRepo.removeCode(token);
|
||||
this.tokenRepo.removeCode(token);
|
||||
|
||||
const access_token = this.createAccessToken(user);
|
||||
const refresh_token = this.createRefreshToken(user);
|
||||
|
||||
Reference in New Issue
Block a user