Skip to content

Commit

Permalink
fix bug: reset-password get token subject email
Browse files Browse the repository at this point in the history
  • Loading branch information
zzz committed Jan 23, 2025
1 parent ba1706b commit d7fa8d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/app/api/routes/login.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def login_access_token(
access_token_expires = timedelta(minutes=settings.ACCESS_TOKEN_EXPIRE_MINUTES)
return Token(
access_token=security.create_access_token(
user.id, expires_delta=access_token_expires
user.email, expires_delta=access_token_expires
)
)

Expand Down

0 comments on commit d7fa8d4

Please sign in to comment.