Answer the question
In order to leave comments, you need to log in
Authorization and user authentication?
Tell me how to authorize and authenticate a user?
I just switched from Yii2 and here, of course, it's a little different.
And there are no methods familiar to me: Yii:$app->security->validatePassword - compares the password hash and password
And no, of course Yii::$app->user->login([entity user])
How to do this in Symphony, I I've looked all over the internet and can't find anything
Answer the question
In order to leave comments, you need to log in
Follow the instructions and everything will work out:
https://symfony.com/doc/current/security.html
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question