Skip to content

Login not using the username provided by the POST request #191

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

You must be logged in to vote

I believe the issue might be in login_param being passed a symbol, where it probably needs to be a string. Roda uses Rack's default params, which don't provide indifferent access that Active Support does, so params need to be access via string keys. Could you try whether it works with login_param "username"?

Replies: 1 comment 9 replies

Comment options

You must be logged in to vote
9 replies
@wolfsblu
Comment options

@janko
Comment options

@wolfsblu
Comment options

@janko
Comment options

@wolfsblu
Comment options

Answer selected by wolfsblu
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