K
K
Konstantin B.2016-06-16 15:48:07
Laravel
Konstantin B., 2016-06-16 15:48:07

Authorization in Laravel from different tables?

It is necessary to make it possible to authorize users not only via e-mail, but also by phone. It seems like Laravel itself won’t work, but you can use some third-party package, but I don’t even know which one, tell me who uses what and which one they like. I would like to observe Feng Shui in the code as much as possible. Oh yes, I forgot, but you probably guessed it yourself, the phones are stored in a separate table and there may be more than one

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Stanislav Pochepko, 2016-06-16
@DJZT

So write your own controller. You will not find a universal plugin that will fit all your requirements.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question