#98021Disabling password reset wirh options.passwordReset for only user with email still shows password reset link
Description
Reproduce
1. Several BE users, only one user (testuser1) with email address (necessary criteria for password reset)
2. If testuser1 is disabled, the password reset link is not displayed, if he is enabled, it is displayed, so that is working correctly.
3. BUT, if testuser1 is enabled, but has options.passwordReset = 0 set in his User TSConfig, then the link is still displayed (though no one can reset their password)
shouldn’t the link NOT be displayed if none of the users has the criteria for password reset?
Also, the password reset link is sent if requested.
be_user_options_passwordReset.png
Documentation
User TSconfig: options.passwordReset
https://docs.typo3.org/m/typo3/reference-tsconfig/main/en-us/UserTsconfig/Options.html#passwordreset
Changelog
The password reset link will only be displayed if several criteria are confirmed:
> The user has a password entered previously (used to indicate that no third-party login was used)
> The user has a valid email added to their user record
> The user is neither deleted nor disabled
> The email address is only used once among all Backend users of the instance
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.