Skip to content
Snippets Groups Projects
Unverified Commit e4cb4e98 authored by Peter Rotich's avatar Peter Rotich Committed by GitHub
Browse files

Merge pull request #4902 from JediKev/issue/account-registration-throws-errors

issue: Account Registration Throws Errors
parents 14bfc4cb a7205073
No related branches found
No related tags found
No related merge requests found
......@@ -58,6 +58,7 @@ elseif ($_POST) {
if ($thisclient) {
$user_form->getField('email')->configure('disabled', true);
$user_form->getField('email')->value = $thisclient->getEmail();
$_POST['email'] = $thisclient->getEmail();
}
if (!$user_form->isValid(function($f) { return !$f->isVisibleToUsers(); }))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment