You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Maybe we could make it over-ridable in jquery.j-toker.js (it's being set at line 652 [opts.confirm_success_url = config.confirmationSuccessUrl();]), and let people set the confirm_success_url in the devise_token_auth initializer instead of whitelisting the param?
In Rails this will trigger an
UnpermittedParameters
exception on the backend:Here's the code to reproduce:
params sent in POST request
Exception on backend:
Obviously, it's possible to whitelist the
confirm_success_url
param, but does it need to be there in the first place?The text was updated successfully, but these errors were encountered: