Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Darren Hunter 140 posts 232 karma points
    Oct 13, 2022 @ 13:17
    Darren Hunter
    0

    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.

Please Sign in or register to post replies

Write your reply to:

Draft