Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
Try doing this:
Because the User model implements the UserInterface interface, there are 2 methods
public function getAuthIdentifier(); // который возвращает по стандарту id(primary key)
public function getAuthPassword(); // который возвращает пароль ($this->password)
Hash::make($password);
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question