aboutsummaryrefslogtreecommitdiffstats
path: root/python/fatcat_web/auth.py
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-04-03 11:31:21 -0700
committerBryan Newbold <bnewbold@robocracy.org>2019-04-03 11:31:21 -0700
commit681135eff787493d786c1e50f52e3125c06e0d97 (patch)
treeb40a404ebaaadb0b7620109a2dbb902b79cfe0f4 /python/fatcat_web/auth.py
parent3b55725950326232e23f7dc1c075ee72c20dccca (diff)
downloadfatcat-681135eff787493d786c1e50f52e3125c06e0d97.tar.gz
fatcat-681135eff787493d786c1e50f52e3125c06e0d97.zip
editgroup submit/merge
Diffstat (limited to 'python/fatcat_web/auth.py')
-rw-r--r--python/fatcat_web/auth.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/python/fatcat_web/auth.py b/python/fatcat_web/auth.py
index 20c11855..79e7b19e 100644
--- a/python/fatcat_web/auth.py
+++ b/python/fatcat_web/auth.py
@@ -139,5 +139,6 @@ def load_user(editor_id):
user.id = editor_id
user.editor_id = editor_id
user.username = editor['username']
+ user.is_admin = editor['is_admin']
user.token = token
return user