mirror of
https://github.com/cwinfo/powerdns-admin.git
synced 2024-12-28 14:05:41 +00:00
marked google oauth users as external
This commit is contained in:
parent
0a72a17e4c
commit
37fee207a5
@ -273,6 +273,7 @@ def login():
|
|||||||
|
|
||||||
session['user_id'] = user.id
|
session['user_id'] = user.id
|
||||||
login_user(user, remember = False)
|
login_user(user, remember = False)
|
||||||
|
session['external_auth'] = True
|
||||||
return redirect(url_for('index'))
|
return redirect(url_for('index'))
|
||||||
|
|
||||||
if 'github_token' in session:
|
if 'github_token' in session:
|
||||||
|
Loading…
Reference in New Issue
Block a user