laravel5.1.11 admins table and users table, how to authenticate users in multiple tables?

WBOY
Release: 2016-08-25 10:37:30
Original
1132 people have browsed it

I want to separate the user table and administrator table logins to perform different user authentications.

Has anyone accomplished this? Asking for advice

Reply content:

I want to separate the user table and administrator table logins to perform different user authentications.

Has anyone accomplished this? Asking for advice

Crab Demon.
Just configure it in config/auth.php, add a providers

5.1 does not have its own multi-table user authentication
You can use kbwebs/multiauth
GITHUB address: https://github.com/Kbwebs/Mul...

Related labels:
php
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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!