Commit f7c6dbb0 by Adam Lane

Add emailVerified to protected_attributes

Without this change, you will not be able to save users with getting an error code":105,"error":"the emailVerified key is a reserved word.
parent 9e9bbd29
......@@ -35,7 +35,7 @@ class User(ParseResource):
'''
ENDPOINT_ROOT = '/'.join([API_ROOT, 'users'])
PROTECTED_ATTRIBUTES = ParseResource.PROTECTED_ATTRIBUTES + [
'username', 'sessionToken']
'username', 'sessionToken', 'emailVerified']
def is_authenticated(self):
return self.sessionToken is not None
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment