From 631956689890494b4f0e6c54ffb04960ff6a085d Mon Sep 17 00:00:00 2001 From: gloas <gloas@afi-sa.fr> Date: Fri, 12 May 2017 10:06:45 +0200 Subject: [PATCH] dev #40650 indent --- .../modules/opac/controllers/AuthController.php | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/application/modules/opac/controllers/AuthController.php b/application/modules/opac/controllers/AuthController.php index d4efa1eee66..71b5249df3f 100644 --- a/application/modules/opac/controllers/AuthController.php +++ b/application/modules/opac/controllers/AuthController.php @@ -111,8 +111,8 @@ class AuthController extends ZendAfi_Controller_Action { $strategy = Auth_Strategy_Abstract::strategyForController($this); $strategy->setDefaultUrl($redirect); $strategy->onLoginSuccess(function($user) { - $user->registerNotificationsOn($this->getHelper('notify')->bePopup()); - }); + $user->registerNotificationsOn($this->getHelper('notify')->bePopup()); + }); $strategy->processLogin(); $this->view->form_action = 'login'; } @@ -127,9 +127,9 @@ class AuthController extends ZendAfi_Controller_Action { $strategy = Auth_Strategy_Abstract::strategyForController($this); $strategy->disableRedirect(); $strategy->onLoginSuccess(function($user) use ($redirect, $location) { - $user->registerNotificationsOn($this->getHelper('notify')); - $this->renderPopup($redirect, $location); - }); + $user->registerNotificationsOn($this->getHelper('notify')); + $this->renderPopup($redirect, $location); + }); $strategy->processLogin(); if (!Class_Users::hasIdentity()) { @@ -197,8 +197,8 @@ class AuthController extends ZendAfi_Controller_Action { $strategy = Auth_Strategy_Abstract::strategyForController($this); $strategy->setDefaultUrl($url); $strategy->onLoginSuccess(function($user) { - $user->registerNotificationsOn($this->getHelper('notify')->bePopup()); - }); + $user->registerNotificationsOn($this->getHelper('notify')->bePopup()); + }); $strategy->processLogin(); } @@ -446,8 +446,6 @@ class AuthController extends ZendAfi_Controller_Action { } - - protected function _preRegistrationFailed($message) { $this->_helper->notify($message); $this->_preRegistrationRedirect('pre-registration'); -- GitLab