mirror of
				https://github.com/kevinveenbirkenbach/infinito.git
				synced 2025-10-31 01:09:41 +00:00 
			
		
		
		
	Implemented automatical translation
This commit is contained in:
		| @@ -22,8 +22,7 @@ class SecurityController extends AbstractController | ||||
|     { | ||||
|         $error = $authenticationUtils->getLastAuthenticationError(); | ||||
|         if ($error) { | ||||
|             $this->addFlash('danger', $error->getMessage()); | ||||
|             #$this->addFlash('info', $translator->trans('Code:%code%',['%code%'=>$error->getMessageKey()])); | ||||
|             $this->addFlash('danger', $translator->trans($error->getMessageKey(),$error->getMessageData(),'security')); | ||||
|         }else{ | ||||
|             $lastUsername = $authenticationUtils->getLastUsername(); | ||||
|             if($lastUsername){ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user