- 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)
-
0
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.
-
0
Hi,
Which service should i override to get Login Method??
-
0
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
-
0
This question has been automatically marked as stale because it has not had recent activity.