1
0
Fork 0

fix MoveUser errors and clean up

- minor template fixes
- notification logic fixes
- don't dedupe on moved_to or also_known_as
- add migration
This commit is contained in:
Hugh Rundle 2023-09-25 15:14:21 +10:00
parent 5b051631ec
commit c95f160216
No known key found for this signature in database
GPG key ID: A7E35779918253F9
9 changed files with 190 additions and 34 deletions

View file

@ -39,7 +39,7 @@ class MoveUser(View):
user=request.user, object=request.user.remote_id, target=target
)
return redirect("/")
return redirect("user-feed", username=request.user.username)
except (PermissionDenied):
form.errors["target"] = [