diff --git a/application/default/controllers/AccountController.php b/application/default/controllers/AccountController.php index 13963838..52c85970 100755 --- a/application/default/controllers/AccountController.php +++ b/application/default/controllers/AccountController.php @@ -138,6 +138,11 @@ class AccountController extends Zend_Controller_Action }else{ $this->_redirect($this->_request->getParam('return')); } + + if($_SERVER['REQUEST_URI']!='/account/login') + { + $this->_redirect($_SERVER['REQUEST_URI']); + } } } else {