diff --git a/controller/registercontroller.php b/controller/registercontroller.php index 2c7adf5..7f17676 100644 --- a/controller/registercontroller.php +++ b/controller/registercontroller.php @@ -87,7 +87,13 @@ class RegisterController extends Controller { \OC_Template::printErrorPage( 'A problem occurs during sending the e-mail please contact your administrator.'); return; } - $this->askEmail('', true); + // TODO: below is not an error, should add "message" template + return new TemplateResponse('', 'error', array( + 'errors' => array(array( + 'error' => $this->l10n->t('Verification email successfully sent.'), + 'hint' => '' + )) + ), 'error'); } /**