Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- try {
- $values = $form->getValues();
- $this->user->login($values->username, $values->password);
- $this->restoreRequest($this->backlink);
- $this->redirect('Dashboard:Backend:');
- } catch (NS\AuthenticationException $e) {
- $form->addError($e->getMessage());
- }
Add Comment
Please, Sign In to add comment