mirror of
https://github.com/ershisan99/flashcards-api.git
synced 2026-01-23 12:34:42 +00:00
remove console logs
This commit is contained in:
@@ -6,14 +6,13 @@ import { AppSettings } from '../../../settings/app-settings'
|
||||
import { Request } from 'express'
|
||||
|
||||
const cookieExtractor = function (req: Request) {
|
||||
console.log(req.cookies)
|
||||
let token = null
|
||||
if (req && req.cookies) {
|
||||
token = req.cookies['refreshToken']
|
||||
}
|
||||
console.log(token)
|
||||
return token
|
||||
}
|
||||
|
||||
// ...
|
||||
@Injectable()
|
||||
export class JwtRefreshStrategy extends PassportStrategy(Strategy, 'jwt-refresh') {
|
||||
|
||||
Reference in New Issue
Block a user