There is a page(route) that also has a login/register form inside itself addition to its content.
user is not forced to login to have access to this page . but login to site would show him more data in the page.
I am going to redirect him back to this page if he try to login via the internal login/register form .
I prefer not to use various login class and methods and adhere to AuthController
.
so apparently i should change the session intended
value before preform login/register but how?
(I know if a user try to access a protected route he will be redirected to login page and then redirected back to intended url.but this is NOT my case!)