Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Google Sign In with OpenID


edited April 2013 in Apps

Is there a login_redirect for the user app, similar to logout_redirect? I'm calling the login page from a menu built from a navigation section, so I'm not sure there's a way to append redirect=/ to it.


  • You can append a ?redirect=/welcome to the URL, but /user is hard-coded as a fallback if it isn't set in $_GET['redirect'] or $_POST['redirect'].

  • How do I append a redirect to the URL if it's part of a menu?

  • Answering my own question: It seems like I can either edit navigation.json (risky?) or use my own myuser/login handler.

  • You could also create a "Login" page with a redirect to /user/login?redirect=/welcome to include it in the nav tree that way.

  • Thanks.

Sign In or Register to comment.