increase reg token expiry to 3600s, remove backup URL

This commit is contained in:
Hamza-Ayed
2026-06-25 15:55:04 +03:00
parent 75e4524329
commit 93bdaee388
2 changed files with 10 additions and 12 deletions

View File

@@ -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) {