mirror of
https://github.com/getredash/redash.git
synced 2025-12-25 01:03:20 -05:00
Merge pull request #2259 from shinji19/master
Fix google oauth login for multi organization
This commit is contained in:
@@ -114,7 +114,7 @@ def login(org_slug=None):
|
||||
elif settings.LDAP_LOGIN_ENABLED:
|
||||
return redirect(url_for("ldap_auth.login", next=next_path))
|
||||
else:
|
||||
return redirect(url_for("google_oauth.authorize", next=next_path))
|
||||
return redirect(get_google_auth_url(next_path))
|
||||
|
||||
if request.method == 'POST':
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user