Updating streaming settings of another user returns you to your own settings page
(Previously GitLab issue 32, Redmine issue 429)

Using the moderator tools to update the streaming settings of another user "returns" you to your own settings page. This should return you to the previously used page (User Management).

diff --git a/weasyl/controllers/settings.py b/weasyl/controllers/settings.py
index e658e57..23b6508 100644
--- a/weasyl/controllers/settings.py
+++ b/weasyl/controllers/settings.py
@@ -376,7 +376,11 @@ def control_streaming_post_(request):
                                     set_stream=set_stream,
                                     stream_length=stream_length)
 
-    raise HTTPSeeOther(location="/control")
+    if form.target:
+        target_username = define.get_sysname(define.get_display_name(target))
+        raise HTTPSeeOther(location="/modcontrol/manageuser?name=" + target_username)
+    else:
+        raise HTTPSeeOther(location="/control")
 
 
 @login_required
['weasyl/controllers/settings.py']