Skip to content

Commit

Permalink
Actually use the set expiration time in the endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
stefannica committed Dec 4, 2024
1 parent d81ff67 commit 658e087
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/zenml/zen_server/routers/auth_endpoints.py
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,7 @@ def api_token(

return generate_access_token(
user_id=token.user_id,
expires_in=config.generic_api_token_lifetime,
expires_in=expires_in,
).access_token

verify_permission(
Expand Down

0 comments on commit 658e087

Please sign in to comment.