larxius commited on
Commit
8a2c342
·
verified ·
1 Parent(s): 2488864

Update backend_structured/routes.py

Browse files
Files changed (1) hide show
  1. backend_structured/routes.py +1 -1
backend_structured/routes.py CHANGED
@@ -103,7 +103,7 @@ from .scanners_core import *
103
 
104
  auth_bp = Blueprint('auth', __name__)
105
  JWT_SECRET = os.getenv('JWT_SECRET', 'fallback_secret')
106
- JWT_EXPIRY_MINUTES = int(os.getenv('JWT_EXPIRY_MINUTES', '15'))
107
  JWT_REFRESH_EXPIRY_DAYS = int(os.getenv('JWT_REFRESH_EXPIRY_DAYS', '7'))
108
 
109
  # Account lockout config
 
103
 
104
  auth_bp = Blueprint('auth', __name__)
105
  JWT_SECRET = os.getenv('JWT_SECRET', 'fallback_secret')
106
+ JWT_EXPIRY_MINUTES = int(os.getenv('JWT_EXPIRY_MINUTES', '1440'))
107
  JWT_REFRESH_EXPIRY_DAYS = int(os.getenv('JWT_REFRESH_EXPIRY_DAYS', '7'))
108
 
109
  # Account lockout config