Fixing JWT verify
This commit is contained in:
parent
a348001036
commit
4f54c3cd86
1 changed files with 1 additions and 1 deletions
|
@ -88,7 +88,7 @@ export class AuthenticateController extends BaseController {
|
||||||
})
|
})
|
||||||
|
|
||||||
try {
|
try {
|
||||||
await jwtTokenManager.createJWTToken(query.token as string);
|
await jwtTokenManager.getUserUuidFromToken(query.token as string);
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
res.writeStatus("400 Bad Request").end(JSON.stringify({
|
res.writeStatus("400 Bad Request").end(JSON.stringify({
|
||||||
"success": false,
|
"success": false,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue