1 parent
6403e386ab
commit
1d54fb085b
3 files changed
+4
-4
No files matched your search
@@ -27,7 +27,7 @@ export class RefreshAuth {
|
||||
if (!found_user) {
|
||||
throw new UserNotFoundError()
|
||||
}
|
||||
if (found_user.refreshTokenCount !== decoded["refreshtokencount"]) {
|
||||
if (found_user.refreshTokenCount !== decoded["refreshTokenCount"]) {
|
||||
throw new RefreshTokenCountInvalidError()
|
||||
}
|
||||
//Create the auth token
|
||||
|
||||
Reference in new issue
Block a user