mirror of
https://github.com/ershisan99/flashcards-api.git
synced 2025-12-25 05:09:25 +00:00
add duplicating random card prevention
This commit is contained in:
@@ -44,7 +44,6 @@ export class JwtStrategy extends PassportStrategy(Strategy) {
|
||||
if (req.cookies && 'accessToken' in req.cookies && req.cookies.accessToken.length > 0) {
|
||||
return req.cookies.accessToken
|
||||
}
|
||||
console.log(req.headers)
|
||||
|
||||
return null
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user