Skip to content

Commit

Permalink
More free tokens for SSO users trying it out.
Browse files Browse the repository at this point in the history
  • Loading branch information
liffiton committed Jul 17, 2024
1 parent 61c33ba commit 90fd6bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gened/oauth.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def auth(provider_name: str) -> Response:
current_app.logger.debug(f"SSO login: {provider_name=} email='{user_normed['email']}' full_name='{user_normed['full_name']}'")

# Given 10 tokens by default if creating an account on first login.
user_row = ext_login_update_or_create(provider_name, user_normed, query_tokens=10)
user_row = ext_login_update_or_create(provider_name, user_normed, query_tokens=20)

# Get their last active role, if there is one (and it still exists and is active)
last_role_id = get_last_role(user_row['id'])
Expand Down

0 comments on commit 90fd6bd

Please sign in to comment.