Account deletion (#3728)
* Add form for account deletion * If avatar or header are gone from source, remove them * Add option to have SuspendAccountService remove user record, add tests * Exclude suspended accounts from search
This commit is contained in:
parent
a208e7d655
commit
4a618908e8
15 changed files with 183 additions and 7 deletions
7
app/models/form/delete_confirmation.rb
Normal file
7
app/models/form/delete_confirmation.rb
Normal file
|
@ -0,0 +1,7 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
class Form::DeleteConfirmation
|
||||
include ActiveModel::Model
|
||||
|
||||
attr_accessor :password
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue