mirror of
				https://github.com/kevinveenbirkenbach/infinito.git
				synced 2025-10-31 17:29:04 +00:00 
			
		
		
		
	Optimized flash messages
This commit is contained in:
		| @@ -21,7 +21,7 @@ class SecurityController extends AbstractController | ||||
|     { | ||||
|         $error = $authenticationUtils->getLastAuthenticationError(); | ||||
|         if ($error) { | ||||
|             $this->addFlash('notice', $error); | ||||
|             $this->addFlash('danger', $error->getMessage()); | ||||
|         } | ||||
|         return $this->render("user/login.html.twig",[ | ||||
|             'last_username'=>$authenticationUtils->getLastUsername(), | ||||
|   | ||||
		Reference in New Issue
	
	Block a user