There doesn't seem to be an easy way to do either of those things. password
column name is hardcoded in DatabaseUserProvider
(and EloquentUserProvider
).
If you don't want to write your own UserProvider, you'll probably be better off just checking credentials manually in AuthController@postLogin
and logging user in via \Auth::login
or \Auth::loginUsingId
method.
You could also create a table called users and store all username and password. Then create foreign keys to Students, Teacher, Admin
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community