Question

Login behavior - change the page customer is directed to after clicking "login"

  • 3 May 2022
  • 1 reply
  • 100 views

Badge

Hello! Is there a way to modify the snippett {% snippet login_form %}  - or modify something else - in order to change where a customer is directed once they click the “login” button? Right now they are directed to https://ourdomain.freshdesk.com/support/home. We would like them to be directed to the Ticket dashboard instead, found at https://ourdomain.freshdesk.com/support/tickets.

Thank you in advance!

 


1 reply

Badge

Hello, community! While not ideal, here is a workaround if anyone is interested… Insert this in your pages HTML, at the top so it is processed first (just above your <body> tag:

{% if portal.user %}

               <script>

                              window.location= https://ourdomain.freshdesk.com/support/tickets?redirect_uri=

               </script>

  {% endif %}

 

Hope that helps!

Reply