Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Pleroma
pleroma
Commits
beb1c98a
Verified
Commit
beb1c98a
authored
Jun 30, 2021
by
Alex Gleason
Browse files
Deletions: don't purge keys so Delete/Undo activities can be signed
parent
43800d83
Changes
2
Hide whitespace changes
Inline
Side-by-side
lib/pleroma/user.ex
View file @
beb1c98a
...
...
@@ -1680,8 +1680,6 @@ def purge_user_changeset(user) do
email:
nil
,
name:
nil
,
password_hash:
nil
,
keys:
nil
,
public_key:
nil
,
avatar:
%{},
tags:
[],
last_refreshed_at:
nil
,
...
...
test/pleroma/user_test.exs
View file @
beb1c98a
...
...
@@ -1651,8 +1651,8 @@ test "delete/1 purges a user when they wouldn't be fully deleted" do
email:
nil
,
name:
nil
,
password_hash:
nil
,
keys:
nil
,
public_key:
nil
,
keys:
"RSA begin buplic key"
,
public_key:
"--PRIVATE KEYE--"
,
avatar:
%{},
tags:
[],
last_refreshed_at:
nil
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment