vendredi 26 mai 2017

Symfony 3: Undefined class constant 'AUTHENTICATION_ERROR'

I'm working in an authentification system using Gard in symfony 3,

This is my probleme, when i use
$request->getSession()->set(Security::AUTHENTICATION_ERROR, $exception); in pulic onAuthenticationFailure() i receive this error Undefined class constant 'AUTHENTICATION_ERROR'

how can i solve this problem.




Aucun commentaire:

Enregistrer un commentaire