Home > Backend Development > PHP Tutorial > laravel5.1.11 admins table and users table, how to authenticate users in multiple tables?

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

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-08-25 10:37:30
Original
1247 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
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
Latest Issues
php data acquisition?
From 1970-01-01 08:00:00
0
0
0
PHP extension intl
From 1970-01-01 08:00:00
0
0
0
How to learn php well
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template