From 04cc3869c2844bb82ac6975ee218141104385c35 Mon Sep 17 00:00:00 2001 From: Parker Date: Fri, 15 Nov 2024 00:30:43 -0600 Subject: Extra route + Much more UI --- api/routes/auth_routes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'api/routes/auth_routes.py') diff --git a/api/routes/auth_routes.py b/api/routes/auth_routes.py index 24e1391..823feff 100644 --- a/api/routes/auth_routes.py +++ b/api/routes/auth_routes.py @@ -33,7 +33,7 @@ async def login_for_access_token( detail="Incorrect username or password", headers={"WWW-Authenticate": "Bearer"}, ) - access_token_expires = timedelta(minutes=1) + access_token_expires = timedelta(minutes=180) access_token = create_access_token( data={"sub": user.id, "username": user.username}, expires_delta=access_token_expires, -- cgit v1.2.3-70-g09d2