mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-12-30 03:50:40 +00:00
fixes bug in update user public key
This commit is contained in:
parent
1ae3830ae4
commit
9989641f4c
1 changed files with 1 additions and 1 deletions
|
@ -104,7 +104,7 @@ def has_valid_signature(request, activity):
|
|||
except ValueError:
|
||||
old_key = remote_user.key_pair.public_key
|
||||
activitypub.resolve_remote_id(
|
||||
models.User, remote_user, refresh=True
|
||||
models.User, remote_user.remote_id, refresh=True
|
||||
)
|
||||
if remote_user.key_pair.public_key == old_key:
|
||||
raise # Key unchanged.
|
||||
|
|
Loading…
Reference in a new issue