Review main Merged

63385[FEATURE] Reset password for backend users

Benni Mack CR +2 V +2 Expert +1566 −10 updated 03/06/20, 20:45

Commit message

This feature adds a link on TYPO3 Backend's login form
to reset a backend users' password if the user has forgotten the password.

Key changes:
* Only enabled for backend users with an email address and a password set
* Enabled by default but can be disabled completely
* Optionally only works for non-admins via TYPO3_CONF_VARS
* Only send out emails to users within the system, but no information disclosure
* If multiple valid users have the same email address, a different email is sent out
* TCA be_users.email is not set to eval=email (due to backwards-compatibility)
* Password resets are only valid for 2 hours (non-configurable)
* Not extensible for third-party authentication methods yet
* Rate limiting is enabled per email address for 3 attempts per 30mins (non-configurable)
* When logging in, all previous tokens are removed
* When requesting multiple resets, only the last email is valid
* A CLI command "backend:resetpassword $backendUrl $emailAddress" sends out an email as well from admins
* Admins can trigger a password reset for users in the BE User module

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 32

Show 12 more files