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