Gregniuki commited on
Commit
0e0e35e
1 Parent(s): c571d37

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -57,7 +57,7 @@ async def login_post(
57
  # Authentication succeeded
58
  # Create an access token and handle login success
59
  # You can use your access token creation logic here
60
- access_token = auth_views().create_access_token(
61
  data={"sub": user.email},
62
  expires_delta=timedelta(minutes=auth_views().ACCESS_TOKEN_EXPIRE_MINUTES),
63
  )
 
57
  # Authentication succeeded
58
  # Create an access token and handle login success
59
  # You can use your access token creation logic here
60
+ access_token = auth_views.create_access_token(
61
  data={"sub": user.email},
62
  expires_delta=timedelta(minutes=auth_views().ACCESS_TOKEN_EXPIRE_MINUTES),
63
  )