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 146 posts 238 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.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies