Guest User

Untitled

a guest
Jun 23rd, 2018
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.33 KB | None | 0 0
  1. try {
  2.             $values = $form->getValues();
  3.             $this->user->login($values->username, $values->password);
  4.             $this->restoreRequest($this->backlink);
  5.             $this->redirect('Dashboard:Backend:');
  6.         } catch (NS\AuthenticationException $e) {
  7.             $form->addError($e->getMessage());
  8.         }
Add Comment
Please, Sign In to add comment