diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2017-06-14 20:30:12 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-14 20:30:12 +0200 |
commit | 91c71471ab41bb9af673daf6dde50159d0bfde18 (patch) | |
tree | b43cb2de67555be82be19842332c1dbba64bc3bf /app/controllers | |
parent | 98eacb223878e51e5e9900ae09bee407d5ca2648 (diff) |
Fix account delete form not accepting password, update suspended (#3745)
account before removing content for quicker feedback to end-users
Diffstat (limited to 'app/controllers')
-rw-r--r-- | app/controllers/settings/deletes_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/settings/deletes_controller.rb b/app/controllers/settings/deletes_controller.rb index 55c18345b..dd18b4c2f 100644 --- a/app/controllers/settings/deletes_controller.rb +++ b/app/controllers/settings/deletes_controller.rb @@ -22,6 +22,6 @@ class Settings::DeletesController < ApplicationController private def delete_params - params.permit(:password) + params.require(:form_delete_confirmation).permit(:password) end end |