Any one help saving changes to a user. when doing a password check.
I am trying to add a check in a costume
public Task
call that checks the user password meats specific criterial on login.
I have that bit working but would like to disable the user account I set
user.LockoutEnabled = true;
But it dose not seem to save the changes back to the database, am I doing some thing wrong. Or is there a way I can fire the user manager to save the changes.
Any one help saving changes to a user. when doing a password check.
I am trying to add a check in a costume
public Task
call that checks the user password meats specific criterial on login.
I have that bit working but would like to disable the user account I set user.LockoutEnabled = true;
But it dose not seem to save the changes back to the database, am I doing some thing wrong. Or is there a way I can fire the user manager to save the changes.
is working on a reply...