N
N
noobiss2018-08-14 18:53:12
Laravel
noobiss, 2018-08-14 18:53:12

Single authorization for multiple databases, how?

There are two, three or more databases. They are identical in everything except the content.
How to authorize a user under the database he has chosen. That is, during authorization, the user has a form with the fields "Login, password, database" and, depending on the selected database, he is authorized.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
J
JhaoDa, 2018-08-14
@JhaoDa

https://laravel.com/docs/5.6/database#configuration
https://laravel.com/docs/5.6/configuration#accessi...
It doesn't hurt to read the documentation.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question