Open Closed

New User Confirmation and initial password set #830


1
enes.koroglu created
  • ABP Framework version: v3.3.1
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Seperated (Angular): no

We have closed self user registration from Settings>>Account>>Enable self registration And then set, require mail confirmation true from Settings>>Identity Management>>SignIn Settings>>Require confirmed email

But after creating a new user from Identity Management>>Users or via below code, confirmation mail does not arrive:

private readonly IdentityUserManager userManager;
await userManager.CreateAsync(user, password);

But login screen says You are not allowed to login! You need to confirm your email/phone number.

  1. We are curios especially about how to trigger Confirmation Mail after userCreation via code?

  2. I think in the above Login screen, there should be a retrigger Confirmation Mail button or someting like that. A scenario can be like that: after email address is changed by user and then email address gets not validated but if this time user logged out or his session expired he cannot logged in anymore and gets You are not allowed to login! You need to confirm your email/phone number. error again.

  3. After creating a new user via code or ui we want to reset user's password and ask a new password after login. Is this a scenario which abp covers, how can we do this?


5 Answer(s)
  • 0
    maliming created
    Support Team

    hi

    Thanks. I will discuss this with the team. I agree with your idea.

  • 0
    ademaygun created

    This issiue important for us, is there any news

  • 0
    maliming created
    Support Team

    @ademaygun

    We plan to implement related features in v4.3.

  • 0
    ademaygun created

    Is It possible to check this request again? https://github.com/abpframework/abp/issues/7231

  • 0
    maliming created
    Support Team

    hi @ademaygun

    I can't reproduce your problem. Can you create a new question, and share details?