Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

forwarding to DefaultController after authentication

eleitheleith New
edited July 2010 in Vanilla 2.0 - 2.8
i ended up changing
#Gdn::Request()->WithRoute('DefaultController');
to:
#Gdn::Request()
in order to achieve the following behavior:

i have a page in my forum called "myvanilla/some/cool/page"

when a user on my own service visits that page for the first time, proxyconnector authenticates them and then bounces them to my DefaultController (/discussions). instead, i want them to be authenticated and land on the page they originally requested.

with the change above, i was able to achieve this effect. is this the best way for me to achieve this effect?

Comments

  • TimTim Operations Vanilla Staff
    This should be happening automatically, but there have been some bugs in the V2.0/Proxy1.4 combo that might have messed with this. 1.5 will have better support.

    Vanilla Forums COO [GitHub, Twitter, About.me]

Sign In or Register to comment.