Exemplo n.º 1
0
 private function setNewTemporaryPassword()
 {
     //set New Cookie
     $tempCred = $this->model->getTempCredentials();
     if ($tempCred) {
         setcookie(self::$cookieName, $this->getUserName(), $tempCred->getExpire());
         setcookie(self::$CookiePassword, $tempCred->getPassword(), $tempCred->getExpire());
     }
 }