Fix account delete form not accepting password, update suspended (#3745)
account before removing content for quicker feedback to end-users
This commit is contained in:
parent
98eacb2238
commit
91c71471ab
3 changed files with 4 additions and 4 deletions
|
@ -22,6 +22,6 @@ class Settings::DeletesController < ApplicationController
|
|||
private
|
||||
|
||||
def delete_params
|
||||
params.permit(:password)
|
||||
params.require(:form_delete_confirmation).permit(:password)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue