Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/registration.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Starosta <j.starosta@tu-braunschweig.de>2015-07-13 06:58:44 +0300
committerJohannes Starosta <j.starosta@tu-braunschweig.de>2015-07-13 06:58:44 +0300
commitdb941b30aa17d04386aa0fbbfc5e5e47592be37f (patch)
treebaf5e3679cfb5b97c9dacbbc044fe5089f145cfc
parent2891795b7a4592da3d8386cf9b386322c19560f1 (diff)
Fixed invalid mail error msg
-rw-r--r--controller/registercontroller.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/controller/registercontroller.php b/controller/registercontroller.php
index 5657642..f7b569a 100644
--- a/controller/registercontroller.php
+++ b/controller/registercontroller.php
@@ -67,7 +67,7 @@ class RegisterController extends Controller {
public function validateEmail() {
$email = $this->request->getParam('email');
if ( !filter_var($email, FILTER_VALIDATE_EMAIL) ) {
- return new TemplateResponse('', 'error', array(array('error' => $this->l10n->t('Email address you entered is not valid'))), 'error');
+ // return new TemplateResponse('', 'error', array(array('error' => $this->l10n->t('Email address you entered is not valid'))), 'error');
return new TemplateResponse('', 'error', array(
'errors' => array(array(
'error' => $this->l10n->t('Email address you entered is not valid'),