registration debug
This commit is contained in:
parent
16cb6e8b9f
commit
4167b44e71
@ -197,7 +197,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') { validate_csrf_token();
|
||||
if (stripos($e->getMessage(), 'Duplicate entry') !== false) {
|
||||
$errors[] = t('error_email_exists');
|
||||
} else {
|
||||
$errors[] = t('error_registration_failed');
|
||||
$errors[] = t('error_registration_failed') . ' (' . $e->getMessage() . ')';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user