示例#1
0
 /**
  * First step to make new password
  * @param type $id
  */
 public function actionNewPass($id)
 {
     if (empty($id)) {
         $this->goHome();
     }
     $this->isLoggedLogoutUser();
     $name = $this->userManager->newPasswordCheck($id);
     if (!$name) {
         $this->goHome('Tento odkaz je starý, prosím požádejte o heslo znovu.', 'Log:lostPass', [], 'waring');
     }
     $this->template->name = $name;
 }