Open poulet42 opened 7 years ago
Just a quick question. You hcave XXX after token_controller. Did you change it by the model you plan to use (User or else)?
@spaquet Yes, I'm using my User model
Can confirm this. I would expect a 403 to be returned.
To reproduce :
rails generate knock:token_controller XXX
Expected response : Status 4XX -> Bad parameters = Client issue
Actual response : Status 500 - Internal Server Error