Starts in:
1 DAY
21 HRS
53 MIN
54 SEC
Starts in:
1 D
21 H
53 M
54 S
Open Closed

Password change after every 90 days #1349


User avatar
0
lalitChougule created
  • ABP Framework version: v3.0.4
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no / yes
  • Exception message and stack trace: N.A
  • Steps to reproduce the issue: N.A

Hi,

I have a requirement where my user should be prompted or redirected to change password screen after every 90 days. How can this be achieved ?


4 Answer(s)
  • User Avatar
    0
    alper created
    Support Team Director

    you can add an property to User entity "PasswordSetDate". then override Login method to redirect the user to password change page. this sounds like a good feature for the new versions. Enforcing user change password after some time.

  • User Avatar
    0
    ChetanKumbhar created

    Hi,

    Which service should i override to get Login Method??

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi ChetanKumbhar

    For code responseType of Angular.

    Volo.Abp.Account.Web.Pages.Account.IdentityServerSupportedLoginModel If you're using Identity Server.

    https://docs.abp.io/en/abp/latest/UI/AspNetCore/Customization-User-Interface#overriding-a-page

    For password responseType of Angular.

    Will use the Identity Server to get the token, you can return an error. But the password cannot be changed.

    https://github.com/abpframework/abp/blob/a75b26cc30fd4b7da385121e31994efb388bdf76/modules/identityserver/src/Volo.Abp.IdentityServer.Domain/Volo/Abp/IdentityServer/AspNetIdentity/AbpResourceOwnerPasswordValidator.cs#L64

  • User Avatar
    0
    ServiceBot created
    Support Team Automatic process manager

    This question has been automatically marked as stale because it has not had recent activity.

Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06