mirror of https://github.com/zulip/zulip.git
require login for get_updates_longpoll.
(imported from commit 64dec53e102e47c42109e064efc46e9812943640)
This commit is contained in:
parent
c7be5cfadc
commit
4fd1230265
|
@ -123,6 +123,7 @@ def update(request):
|
||||||
user_profile.save()
|
user_profile.save()
|
||||||
return json_success()
|
return json_success()
|
||||||
|
|
||||||
|
@login_required
|
||||||
@asynchronous
|
@asynchronous
|
||||||
@require_post
|
@require_post
|
||||||
def get_updates_longpoll(request, handler):
|
def get_updates_longpoll(request, handler):
|
||||||
|
|
Loading…
Reference in New Issue