Setting status: 'ENABLED' doesn't seem to work
Opened this issue · 0 comments
Ascendzor commented
Have enabled Verification Email in the Stormpath web interface.
But we have two paths for registering, one path where we want email verification and one path where we don't.
When using application.createAccount
we are passing in the object:
{
username: 'some username',
password: 'some password',
email: 'someemail@gmail.com',
givenName: 'some given name',
surname: 'some surname',
status: 'ENABLED'
}
And then the account status in Stormpath is "UNVERIFIED" and we can't automatically log the user in on registration