Change redirect if session not login

Forza

Member
Hello my friends. I hope you fine. Oke... Could I get advice from you guys. I've searched every "controller" and "route" to change the error handling if the user is not logged in or (have a session login) and then redirected to my login page, but not working and always call or redirect to login default screen. How to redirect if the user has not logged into the url "domain.com/login"

Ilustration.webp
 
I've actually just started digging into this. I am creating a pretty custom plugin for all log in and registration function to be broken out of the main PAGE_CONTAINER. I was look into extended the Error class but doesn't seem to be working as of yet.

@Chris D and thoughts on always forwarding the user to a specific log in page when log in is required?

Thanks.
 
Top Bottom