mirror of
https://github.com/valitydev/redash.git
synced 2024-11-07 09:28:51 +00:00
Merge pull request #752 from getredash/proxy_fix
Fix: creating new user w/ Google Auth was broken.
This commit is contained in:
commit
ccec964c24
@ -102,7 +102,7 @@ def authorized():
|
||||
flash("Your Google Apps domain name isn't allowed.")
|
||||
return redirect(url_for('login', org_slug=org.slug))
|
||||
|
||||
create_and_login_user(org.id, profile['name'], profile['email'])
|
||||
create_and_login_user(org, profile['name'], profile['email'])
|
||||
|
||||
next = request.args.get('state') or url_for("index", org_slug=org.slug)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user