Home > Backend Development > PHP Tutorial > How to authenticate users in different tables through the public auth module in Laravel5.3

How to authenticate users in different tables through the public auth module in Laravel5.3

WBOY
Release: 2016-09-13 08:46:06
Original
1474 people have browsed it

Currently, only users in the users table can be authenticated. I also want to authenticate users in the administrators table, but I don’t know how to do it.
I configured a system guard in auth.php. If it is configured as the default, it can be authenticated. However, there is no way to authenticate the users table. Is there any way to access different login forms and then use the public one? Login logic to authenticate users in different tables.
How to authenticate users in different tables through the public auth module in Laravel5.3

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template