diff options
author | Alex Gleason <alex@alexgleason.me> | 2021-06-30 01:48:17 -0500 |
---|---|---|
committer | Alex Gleason <alex@alexgleason.me> | 2021-06-30 02:02:24 -0500 |
commit | beb1c98ab5e0848127a4490180364552f6fcdbf5 (patch) | |
tree | 97cad90b4d225327111fbde07cbaf5c6de343e74 | |
parent | 43800d83f4fc3b251cdd93c28dab2df7297021b3 (diff) | |
download | pleroma-beb1c98ab5e0848127a4490180364552f6fcdbf5.tar.gz pleroma-beb1c98ab5e0848127a4490180364552f6fcdbf5.zip |
Deletions: don't purge keys so Delete/Undo activities can be signed
-rw-r--r-- | lib/pleroma/user.ex | 2 | ||||
-rw-r--r-- | test/pleroma/user_test.exs | 4 |
2 files changed, 2 insertions, 4 deletions
diff --git a/lib/pleroma/user.ex b/lib/pleroma/user.ex index 5d8b936aa..de3b8ca3b 100644 --- a/lib/pleroma/user.ex +++ b/lib/pleroma/user.ex @@ -1680,8 +1680,6 @@ defmodule Pleroma.User do email: nil, name: nil, password_hash: nil, - keys: nil, - public_key: nil, avatar: %{}, tags: [], last_refreshed_at: nil, diff --git a/test/pleroma/user_test.exs b/test/pleroma/user_test.exs index 181990e4b..ec0aaa9eb 100644 --- a/test/pleroma/user_test.exs +++ b/test/pleroma/user_test.exs @@ -1651,8 +1651,8 @@ defmodule Pleroma.UserTest 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, |