mirror of
https://github.com/docusealco/docuseal
synced 2026-11-06 06:52:33 -05:00
skip reconfirmation
This commit is contained in:
1 parent
dfab4c331c
commit
f4552dbaa8
1 file changed
+1
@@ -46,6 +46,7 @@ class AccountsController < ApplicationController
|
||||
def destroy
|
||||
authorize!(:manage, current_account)
|
||||
|
||||
true_user.skip_reconfirmation!
|
||||
true_user.update!(locked_at: Time.current, email: true_user.email.sub('@', '+removed@'))
|
||||
true_user.account.update!(archived_at: Time.current)
|
||||
|
||||
|
||||
Reference in new issue
Block a user