jwt token valid for 24 hours
Taylor committed
Oct 12, 2023 at 11:49 UTC
16bd094739ca920aa17d013e1f232698b02b3488
2 files changed
+4
-2
backend/app/auth/routes/auth.py
+1
-1
@@ -17,7 +17,7 @@ from app.auth.services.universal import select_all_users
17
from app.auth.utils import AuthHandler
18
from app.db.db_session import session
19
20
-ACCESS_TOKEN_EXPIRE_MINUTES = 60
20
+ACCESS_TOKEN_EXPIRE_MINUTES = 1440
21
22
user_router = APIRouter()
23
auth_handler = AuthHandler()
package-lock.json
+3
-1
@@ -693,6 +693,7 @@
693
},
694
"node_modules/@clack/prompts/node_modules/is-unicode-supported": {
695
"version": "1.3.0",
696
+ "dev": true,
697
"inBundle": true,
698
"license": "MIT",
699
"engines": {
@@ -17008,7 +17009,8 @@
17009
"dependencies": {
17010
"is-unicode-supported": {
17011
"version": "1.3.0",
17011
- "bundled": true
17012
+ "bundled": true,
17013
+ "dev": true
17014
}
17015
}
17016
},