Customize Laravel Auth Redirect: From Login to Register

preview_player
Показать описание
In some cases, it makes sense to redirect the unauthenticated users to somewhere else than the login form. Luckily, it's very easy in Laravel.

- - - - -
Support the channel by checking out my products:

- - - - -
Other places to follow:
Рекомендации по теме
Комментарии
Автор

Absolutely loved this video. Amazing work.

Alazuofficial
Автор

good to know, but i think that if a user "knows" the URL is because it's already logged in (maybe session expired) so the app needs to redirect to login. Anyway, great video as usual! Thanks

giacomogaravaglia
Автор

Love your vids! is there a way to only make the stubs for the form request class? because when you publish the stubs to customize them, it publishes everything.

it would be great to publish only one class and if laravel gets updated, you only have to be worried of one class

gazorbpazorbian
Автор

very inspiring tutorials, is there a way to get create auth for doctors, patient, admin during registering in the sense to select or register as a dcotor, patient or admin

kwakyepatrick
Автор

Please I Need your advice.

In this scenario, a dental clinic has multiple doctors, Every new day, each doctor specifies the total number of patients they can attend to, and from what time to what time (say 9 am to 3 pm).

When patients come to the clinic, they pick a number from the total number of available slots and wait their turn.

Now, a patient can swap queue positions with another patient (e.g a patient with queue #5 can swap positions with a patient with queue #3 )

My table is quite simple, my problem now is how to set up a proper table and eloquent relationship for the patient queues, I have no idea how best to go about this without compromising query speed.

An idea was to save an array into the table with slots columns, not sure if this makes any logical sense.

What would you advise?
Thanks

reelfocusmediaconcept
Автор

hello sir could you share a video about laravel dusk ?

dsdigitalcompany
Автор

I would personally leave it as it is and just add a link redirecting to the register page on the login page.

jakye