Skip to content

Is there a way to control where a users goes after login? #1002

Answered by s0kil
s0kil asked this question in Q&A
Discussion options

You must be logged in to vote

In your Admin.Controller.Sessions module, you could customize the SessionsControllerConfig instance, like this:

instance Sessions.SessionsControllerConfig Admin where
    afterLoginRedirectPath = pathTo ProductsAction

View more config options here: https://ihp.digitallyinduced.com/api-docs/IHP-AuthSupport-Controller-Sessions.html#t:SessionsControllerConfig

Replies: 1 comment 2 replies

Comment options

s0kil
Jul 25, 2021
Collaborator Author

You must be logged in to vote
2 replies
@CSchank
Comment options

@mpscholten
Comment options

Answer selected by s0kil
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants