Force password reset days is not working as expected

Description

Existing:
On enabling "force-password-reset-days" in configuration, it takes the default value(days) which is 0(zero). If the user logs out and tries to login, it wont allow user to login. This was raised by Frank from "Jambo capital Initiative".

Expected:
Should not allow to change from enable to disable if the value is 0(zero). If it should be allowed, then it should allow to change the password immediately at the time of login.

Environment

None

Assignee

ChandrikaM

Reporter

Sangamesh Nadagoudar

Labels

URL

None

Story Points

None

Team

Core

Notify

None

productboard URL

None

Man Day Estimate

None

Fix versions

Priority

Critical
Configure