Reputation: 2065
So it appears when you create a User in Parse you cannot manually set their activation as True, rather you have to authenticate the account by email.
This is a problem if you are switching an existing database to Parse since you wouldn't want every user to recreate their account. Is there a way to force the emailVerified to True?
Thanks!
Upvotes: 2
Views: 2253
Reputation: 10602
There is an option on your parse dashboard to enable/disable this feature on the users end http://blog.parse.com/2012/04/03/introducing-app-email-settings/. Otherwise it defeats the purpose and intent of security for users if you manually override it. It would be cool for someone else to use my email they retrieved from a phishing scam latter to find out it was approved by devs of an app I haven't even used.
EDIT Per our discussion below;
As an admin, you can not set any objects emailVerified set to true or false for security reasons, and before you dig deep into Parse, a user can't alter another users information either. Some alternatives you can consider:
Users which were created before email verification was on or which were created without an email will not have the emailVerified key
Upvotes: 1