Replace auth redirect with modal dialog in InertiaJS & Laravel applications

preview_player
Показать описание
In this video we'll look over how we can replace the default Laravel auth redirect to login with a dialog modal.

Рекомендации по теме
Комментарии
Автор

nice i love all your inertia content please make more videos about inertia

hugo-abdou
Автор

Thank.
what will happen if you visit the protected URL directly?
I think the response will be ERR_TOO_MANY_REDIRECTS because there is no preview URL or history.
I can check if there is any previous URL then redirect otherwise redirect to login route.

shahramhassan
welcome to shbcf.ru