Esempio n. 1
0
 /**
  * Controller constructor.
  *
  * @access   public
  * @since    1.0.0, 2015-02-17
  * @version  2.1.0-dev
  */
 public function __construct()
 {
     parent::__construct();
     // fill up breadcrumbs title and other
     $this->addBreadCrumb(__('Password recovery'), Route::factory('password_recovery')->url());
     $this->addToTitle(' - ' . __('Password recovery'));
     // check if particular user is logged
     if (User::isLogged()) {
         $sRedirectURL = Route::factory('home')->url();
         $sRedirectMsg = __('Cannot use password recovery system while being logged in!');
         Session::flash($sRedirectURL, $sRedirectMsg, 'warning');
     }
 }
Esempio n. 2
0
 /**
  * Constructor
  *
  * @access   public
  * @since    1.0.0-alpha
  * @version  1.0.0-alpha
  */
 public function __construct()
 {
     parent::__construct();
 }