cleanup
This commit is contained in:
parent
c95f160216
commit
01a56540d0
3 changed files with 4 additions and 14 deletions
|
@ -41,9 +41,9 @@ class MoveUser(View):
|
|||
|
||||
return redirect("user-feed", username=request.user.username)
|
||||
|
||||
except (PermissionDenied):
|
||||
except PermissionDenied:
|
||||
form.errors["target"] = [
|
||||
"You must set this server's user as an alias on the user you wish to move to before moving"
|
||||
"Set this user as an alias on the user you wish to move to before moving"
|
||||
]
|
||||
data = {"form": form, "user": request.user}
|
||||
return TemplateResponse(request, "preferences/move_user.html", data)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue