Allow users to change password without entering the old one (configurable)
Allow users to change password without entering the old one (configurable)
Description:
Currently, changing your own password requires entering the old password. I'd like this to be configurable.
Motivation:
My application has recently been integrated with 1С. New users who appear in 1С are automatically registered in the app. Right now they can log into their account by confirming a code that is sent to their 1С workspace — but they don't know the passwords that were initially created for them. As a result, they can't change their password through the standard flow, because it requires the old password. A configurable toggle would let these users set a new password directly.
Proposed feature:
Add a toggle in the security / password settings, e.g.:"Allow users to change their password without entering the old password" • When enabled: a logged-in user can set a new password without providing the old one. • When disabled (default): current behavior stays the same. Security note:
Should be off by default, since it lowers authentication strength — any active session would be enough to reset the password.
Source: nocobase/nocobase