Skip to content

Commit

Permalink
Temporary Fix till the patch is released
Browse files Browse the repository at this point in the history
  • Loading branch information
nitinkr0411 committed Oct 25, 2024
1 parent 6ae8186 commit 4e0bbaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/open_webui/utils/oauth.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ async def handle_callback(self, provider, request, response):

if not user:
# If the user does not exist, check if signups are enabled
if auth_manager_config.ENABLE_OAUTH_SIGNUP.value:
if auth_manager_config.ENABLE_OAUTH_SIGNUP:
# Check if an existing user with the same email already exists
existing_user = Users.get_user_by_email(
user_data.get("email", "").lower()
Expand Down

0 comments on commit 4e0bbaf

Please sign in to comment.