mirror of
https://github.com/zulip/zulip.git
synced 2025-11-07 15:33:30 +00:00
decorator: Add logging data to zulip_login_required.
This fixes an issue that many logged=in pages such as /stats did not correctly report either the connecting client or the user in server logs.
This commit is contained in:
@@ -107,9 +107,6 @@ def home_real(request):
|
||||
request.session.modified = True
|
||||
|
||||
user_profile = request.user
|
||||
request._email = request.user.email
|
||||
# Process the client as an auth decorator would
|
||||
process_client(request, user_profile, is_json_view=True)
|
||||
|
||||
# If a user hasn't signed the current Terms of Service, send them there
|
||||
if settings.TERMS_OF_SERVICE is not None and settings.TOS_VERSION is not None and \
|
||||
|
||||
Reference in New Issue
Block a user