i have created own root page (/
) register page (/cadastrar
). next step allow user login , update information. used laravel's login page (/auth/login
). works fine , when login redirected /home
. @ point problem arises: can not go other page (/
) (/cadastrar
). i redirected /home
.
i did not change configuration regarding login or redirections wrong , how fix it?
edit: @ (/
) have sign in link. when click, go (/auth/login
). put email , password, press login , redirects me (/home
) saying i'm logged in. want go (/
) or other page, redirect me (/home
). thats problem. plan let users update information if logged in, can't go anywhere.
in app/http/middleware/redirectifauthenticated.php
on line 38 change return new redirectresponse(url('/home'));
return new redirectresponse(url('/'));
Comments
Post a Comment