Skip to content

Commit

Permalink
Merge pull request #806 from virtkick/master
Browse files Browse the repository at this point in the history
Add missing parameter :redirect_url, fixes #805
  • Loading branch information
booleanbetrayal authored Jan 19, 2017
2 parents 5d58793 + 14c69c1 commit 094dd7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/devise_token_auth/passwords_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ def render_update_error
private

def resource_params
params.permit(:email, :password, :password_confirmation, :current_password, :reset_password_token)
params.permit(:email, :password, :password_confirmation, :current_password, :reset_password_token, :redirect_url, :config)
end

def password_resource_params
Expand Down

0 comments on commit 094dd7b

Please sign in to comment.