We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3986baf commit 783352cCopy full SHA for 783352c
app/controllers/users/registrations_controller.rb
@@ -5,7 +5,7 @@ def update_resource(resource, _params)
5
if updating_sensitive_info?
6
resource.update_with_password(user_params)
7
else
8
- resource.update_without_password(user_params)
+ resource.update_without_password(user_params.except(:current_password))
9
end
10
11
0 commit comments