mirror of
https://github.com/docusealco/docuseal
synced 2026-11-10 07:42:32 -05:00
removed email
This commit is contained in:
1 parent
2b5f772feb
commit
501b91a603
1 file changed
+1
-1
@@ -45,7 +45,7 @@ class AccountsController < ApplicationController
|
|||||||
def destroy
|
def destroy
|
||||||
authorize!(:manage, current_account)
|
authorize!(:manage, current_account)
|
||||||
|
|
||||||
true_user.update!(locked_at: Time.current)
|
true_user.update!(locked_at: Time.current, email: true_user.email.sub('@', '+removed@'))
|
||||||
|
|
||||||
# rubocop:disable Layout/LineLength
|
# rubocop:disable Layout/LineLength
|
||||||
render turbo_stream: turbo_stream.replace(
|
render turbo_stream: turbo_stream.replace(
|
||||||
|
|||||||
Reference in new issue
Block a user