Answer the question
In order to leave comments, you need to log in
How to solve the problem with the alternative user table in Laravel during authorization?
In general, yesterday I asked a question - about alternative authorization .
But it turned out that everything is much easier - you can not write your own driver, but use the driver from Laravel, just specify the correct column names for it.
// app/models/user.php
public function getAuthPassword()
{
return $this->s_password;
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question