mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-09-27 15:58:12 +08:00
Add user email to the userinfo response (#1862)
We are planning to display the user's email address in the front end. #1830
This commit is contained in:
@@ -308,7 +308,8 @@ class AppConfig(object):
|
||||
userinfo["userinfo"] = {
|
||||
"is_authenticated": auth.is_user_authenticated(),
|
||||
"username": auth.get_user_name(),
|
||||
"user_id": auth.get_user_id()
|
||||
"user_id": auth.get_user_id(),
|
||||
"email": auth.get_user_email()
|
||||
}
|
||||
return userinfo
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user