Check the docs before asking a question: https://docs.abp.io/en/commercial/latest/ Check the samples, to see the basic tasks: https://docs.abp.io/en/commercial/latest/samples/index The exact solution to your question may have been answered before, please use the search on the homepage.
- ABP Framework version: v3.0.4
- UI type: Angular
- DB provider: EF Core
- Tiered (MVC) or Identity Server Separated (Angular): yes
- Exception message and stack trace: N/A
- Steps to reproduce the issue: N/A
Is there any setting in ABP.IO framework which enforces user to change the password after first login?. If yes, please provide information on the same. If no, can you share some insight on how to set it up in ABP?
Thanks & regards, Repunjay
2 Answer(s)
-
0
Hi Repunjay, The current framework does not have this feature, you have to implement it yourself. You can judge whether the user is logging in for the first time based on the information in the Security Log, or extend User to add a bool attribute
IsFirstLogin
. If it is the first login, you can inject theIdentityUserManager
and use theResetPasswordAsync()
method to reset the password. -
0
This question has been automatically marked as stale because it has not had recent activity.