J
J
Jedi2018-02-11 13:43:32
Laravel
Jedi, 2018-02-11 13:43:32

How to implement authorization on Lumen correctly?

How to correctly implement authorization inside the controller?
php artisan make:auth doesn't work :)
I'm writing a simple site on Lumen, now I just need authorization.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
artemmityushov, 2018-02-12
@artemmityushov

php artisan make:auth cannot but work, so something was set wrong.
Try installing from scratch, first Laravel itself, then php artisan make:auth, and then php artisan migrate.
All tables will be created and authorization will be ready in the standard front.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question