Skip to content

url manipulation in RodauthApp > configure > prefix #193

Answered by janko
whysthatso asked this question in Q&A
Discussion options

You must be logged in to vote

The configure block is executed immediately, but the individual auth method blocks are executed only when calling Rodauth, which happens during the request. The Rodauth object is initialized with the Roda instance, so you have access to the current request. You can access the env via the request object, i.e. request.env.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@whysthatso
Comment options

@janko
Comment options

@whysthatso
Comment options

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