Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * @return void
- */
- public function authenticateAction() {
- $this->authenticationManager->authenticate();
- if($this->authenticationManager->getSecurityContext()->getAccount()){
- $this->flashMessageContainer->add('Sie haben sich erfolgreich angemeldet.','Erfolg','Ok');
- $this->redirect('index');
- }else{
- $this->flashMessageContainer->add('Logindaten sind nicht korrekt.','Fehler','Error');
- $this->redirect('index');
- }
- }
Add Comment
Please, Sign In to add comment