parent
c0c95056bf
commit
82f31185a1
@ -43,7 +43,7 @@ export class CreateAuth {
|
|||||||
//
|
//
|
||||||
const timestamp_refresh_expiry = Math.floor(Date.now() / 1000) + 10 * 36000
|
const timestamp_refresh_expiry = Math.floor(Date.now() / 1000) + 10 * 36000
|
||||||
newAuth.refresh_token = jsonwebtoken.sign({
|
newAuth.refresh_token = jsonwebtoken.sign({
|
||||||
refreshtokencount: 5,
|
refreshtokencount: found_user.refreshTokenCount,
|
||||||
userid: found_user.id,
|
userid: found_user.id,
|
||||||
exp: timestamp_refresh_expiry
|
exp: timestamp_refresh_expiry
|
||||||
}, "securekey")
|
}, "securekey")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user