Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Maarch
maarchRM
Commits
fd26392e
Commit
fd26392e
authored
Apr 25, 2022
by
Cyril Vazquez
Browse files
Update userAccount.php
parent
cb5538d9
Pipeline
#17699
failed with stages
in 35 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/bundle/auth/Controller/userAccount.php
View file @
fd26392e
...
...
@@ -224,7 +224,7 @@ class userAccount
$userAccount
->
accountType
=
'user'
;
if
(
!
is_null
(
$userAccount
->
emailAddress
)
&&
!
filter_var
(
$userAccount
->
emailAddress
,
FILTER_VALIDATE_EMAIL
))
{
$validationErrors
=
[
"Email
adress isn't vali
d"
];
$validationErrors
=
[
"Email
malforme
d"
];
throw
\
laabs
::
newException
(
"auth/invalidUserInformationException"
,
$validationErrors
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment