Make email public field
This will be used wherever sb users are searching for other users as a way to differentiate people with the same name. Change-Id: Id618f79f6556f958959f87f1057d75fc298ccc98 Story:2000132 Task: 24372
This commit is contained in:
parent
410cd42e2b
commit
b361c72d59
@ -162,7 +162,7 @@ class User(FullText, ModelBuilder, Base):
|
||||
),
|
||||
cascade="all, delete-orphan")
|
||||
|
||||
_public_fields = ["id", "openid", "full_name", "last_login",
|
||||
_public_fields = ["id", "openid", "full_name", "email", "last_login",
|
||||
"enable_login", "is_superuser"]
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user