Commit dd0c8301 authored by Jochen Roth's avatar Jochen Roth Committed by Georg Ringer
Browse files

[BUGFIX] Set fe_user email field to eval "email"

Currently the fe_user field email has a eval value
of "trim". So it does not verify the given email.

This has been fixed by setting eval to "email" and
trim the email before validation. On top of that
the validation flash message now shows the correct
value that was entered.

Resolves: #95459
Releases: master
Change-Id: I274ae040da9fe8d03a56e5ba9b4f17a828da57f7

Tested-by: core-ci's avatarcore-ci <>
Tested-by: Christian Kuhn's avatarChristian Kuhn <>
Tested-by: Wouter Wolters's avatarWouter Wolters <>
Tested-by: Georg Ringer's avatarGeorg Ringer <>
Reviewed-by: Christian Kuhn's avatarChristian Kuhn <>
Reviewed-by: Wouter Wolters's avatarWouter Wolters <>
Reviewed-by: Georg Ringer's avatarGeorg Ringer <>
parent 768bd1cd
......@@ -2726,7 +2726,7 @@ class DataHandler implements LoggerAwareInterface
'"%s" is not a valid e-mail address.',
'"' . $value . '" is not a valid e-mail address.',
[$this->getLanguageService()->sL('LLL:EXT:core/Resources/Private/Language/locallang_core.xlf:error.invalidEmail'), $value]
......@@ -128,7 +128,7 @@ return [
'config' => [
'type' => 'input',
'size' => 20,
'eval' => 'trim',
'eval' => 'trim,email',
'max' => 255,
Supports Markdown
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