Merge branch 'develop' of github.com:thecodingmachine/workadventure

This commit is contained in:
_Bastler 2021-08-10 10:26:47 +02:00
commit 406280737c
2 changed files with 3 additions and 2 deletions

View File

@ -1,6 +1,6 @@
{
"devDependencies": {
"husky": "^6.0.0"
"husky": "^7.0.1"
},
"scripts": {
"prepare": "husky install"

View File

@ -11,7 +11,8 @@ export const tokenInvalidException = "tokenInvalid";
class JWTTokenManager {
public createAuthToken(identifier: string) {
return Jwt.sign({ identifier }, SECRET_KEY, { expiresIn: "3d" });
//TODO fix me 200d when ory authentication will be available
return Jwt.sign({ identifier }, SECRET_KEY, { expiresIn: "200d" });
}
public decodeJWTToken(token: string): AuthTokenData {