You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Also when debugging, regular account flow goes to UserManager - CreateAsync(User user) method, which should be used only for anonymous accounts. Find em' & destroy 'em.
The text was updated successfully, but these errors were encountered:
coni2k
changed the title
Creating a new entity issue
New local account with password still shows 'Add password' instead of 'Change password'
Mar 21, 2016
On server side, for anonymous accounts, UserManager CreateAsync(User user) and for regular local accounts (with password), CreateAsync(User user, string password) methods were overridden.
Apparently latter is using former internally, so even though user.HasPassword was set to null in 'regular account' flow, since it still goes to 'anonymous account' method, it sets HasPassword to false.
Now CreateAsync(User user) was renamed to CreateAnonymousAsync(User user).
coni2k
changed the title
New local account with password still shows 'Add password' instead of 'Change password'
New regular account shows 'Add password' instead of 'Change password'
Mar 21, 2016
Also when debugging, regular account flow goes to UserManager - CreateAsync(User user) method, which should be used only for anonymous accounts. Find em' & destroy 'em.
The text was updated successfully, but these errors were encountered: