
Redirect URL to login page and then forwarding the request
Hi,
We would like to send customers an e-mail to a page that is protected by authentication (we use the custom Webusers model), e.g. https://my.app.nl/page?action=approved
Currently, when the customer clicks on this URL, it gets an 'Unauthorized' page of BettyBlocks. We would like to redirect this request to the login page (in fact, all pages that a user clicks on while not logged in should be redirected to the login screen), so the user can login and then forwarding the user to the URL that was ORIGINALLY clicked on in the e-mail. Is this possible and if yes, how?
Thanks a lot!
Regards, Arno
Hi,
We would like to send customers an e-mail to a page that is protected by authentication (we use the custom Webusers model), e.g. https://my.app.nl/page?action=approved
Currently, when the customer clicks on this URL, it gets an 'Unauthorized' page of BettyBlocks. We would like to redirect this request to the login page (in fact, all pages that a user clicks on while not logged in should be redirected to the login screen), so the user can login and then forwarding the user to the URL that was ORIGINALLY clicked on in the e-mail. Is this possible and if yes, how?
Thanks a lot!
Regards, Arno
Login to reply