Affects Version/s: 7.0.X EE, Master
Component/s: User Management > Password Policies
Description : Users are not notified when their accounts will be locked or when they will be locked when Password Expiration is enabled. After expirary, the user is unable to login and forced to
Your password has expired. Please contact an administrator to reset your password.
Steps to Reproduce:
1. Start Liferay
2. Go to Control Panel>Users>Password Policy and edit Default Password Policy by clicking three dots on right>Edit.
Click Enable Expiration.
Maximum Age: 2 weeks
Warning time: 1 day
Grace Limit: 1
3. To simulate the passage of two weeks, update computer Date and Time to a date that is 2 weeks in the future.
4. Sign in again as user.
Result: Observe Warning message:
Warning! Your login password will expire soon. Please change your password.
Results of Testing:
Expected Results: User understands the urgency of changing their password or when their password will expire.
Actual Results: User receives the same notification for the entire warning duration and is locked out and forced to contact an administrator.
Branch? Yes, reproduced in 7.0.x
Git ID: 70x-06c27bda0cc20564e4604c4f6a4cece2448a8025:80
Master? Yes, reproduced in master
Git ID: a717f4badc77afba8d85e818d4741ca82dc8c219