mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 21:13:36 +00:00
Add a missing @login_required on update.
(imported from commit b41ac9adb8886c736fb59051b8d83d3a9c6c0894)
This commit is contained in:
@@ -57,6 +57,7 @@ def home(request):
|
||||
'user_profile': user_profile },
|
||||
context_instance=RequestContext(request))
|
||||
|
||||
@login_required
|
||||
def update(request):
|
||||
if not request.POST:
|
||||
# Do something
|
||||
|
||||
Reference in New Issue
Block a user