increase reg token expiry to 3600s, remove backup URL
This commit is contained in:
@@ -75,7 +75,7 @@ try {
|
||||
'user_id' => 'new',
|
||||
'sub' => $id,
|
||||
'token_type' => 'registration',
|
||||
'exp' => time() + 450,
|
||||
'exp' => time() + 3600,
|
||||
'iat' => time(),
|
||||
'iss' => getenv('APP_ISSUER') ?: 'Tripz',
|
||||
'aud' => $audience,
|
||||
@@ -90,7 +90,7 @@ try {
|
||||
|
||||
jsonSuccess([
|
||||
'jwt' => $jwt,
|
||||
'expires_in' => 450,
|
||||
'expires_in' => 3600,
|
||||
]);
|
||||
|
||||
} catch (Exception $e) {
|
||||
|
||||
Reference in New Issue
Block a user