mirror of https://github.com/zulip/zulip.git
Display user's email in logs for requesting hitting /.
(imported from commit d272f22b8b4de9640a86b66d7833336cc8a9822a)
This commit is contained in:
parent
e9ee05b2b2
commit
002e28d838
|
@ -638,6 +638,7 @@ def home(request):
|
||||||
request.session.modified = True
|
request.session.modified = True
|
||||||
|
|
||||||
user_profile = request.user
|
user_profile = request.user
|
||||||
|
request._email = request.user.email
|
||||||
|
|
||||||
register_ret = do_events_register(user_profile, get_client("website"),
|
register_ret = do_events_register(user_profile, get_client("website"),
|
||||||
apply_markdown=True)
|
apply_markdown=True)
|
||||||
|
|
Loading…
Reference in New Issue