Skip to content
Snippets Groups Projects
Commit 33b968f7 authored by Torben Hansen's avatar Torben Hansen Committed by Benni Mack
Browse files

[FEATURE] Provide full userdata in password recovery email in ext:backend

Currently, the variables `name`, `email`, `language`, `resetLink`
and `username` are available in the template of the password recovery
email for backend users. It is not possible to add custom user
related data from the `be_users` table to the password recovery email.

To enable the possibility to add custom user related data, this
change adds the new variable `userData` to the FluidEmail object,
which contains all userdata of the affected backend user.

Additionally, a superfluous `is_array` check has been removed,
since it is ensured, that the `$users` variable at this point
already is an array.

Resolves: #103147
Releases: main
Change-Id: I72eb8796a15f5dd9dbb8682555777915f880bc96
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/83031


Reviewed-by: default avatarGarvin Hicking <gh@faktor-e.de>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
Tested-by: default avatarStefan Bürk <stefan@buerk.tech>
Reviewed-by: default avatarStefan Bürk <stefan@buerk.tech>
Reviewed-by: default avatarGuido Schmechel <guido.schmechel@brandung.de>
Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarBenni Mack <benni@typo3.org>
Tested-by: default avatarGarvin Hicking <gh@faktor-e.de>
Tested-by: default avatarGuido Schmechel <guido.schmechel@brandung.de>
parent b42632f4
Branches
Tags
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment