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:
Kendall Nelson 2018-08-07 15:30:01 -07:00
parent 410cd42e2b
commit b361c72d59

View File

@ -162,7 +162,7 @@ class User(FullText, ModelBuilder, Base):
), ),
cascade="all, delete-orphan") 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"] "enable_login", "is_superuser"]