Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

auth: Clean up redundant request.session.modified change.

Mateusz Manderab5b8cc06dcd3
diff --git a/zerver/views/auth.py b/zerver/views/auth.py
index dec150e3b98..1eb9cb76eba 100644
--- a/zerver/views/auth.py
+++ b/zerver/views/auth.py
@@ -250,7 +250,6 @@ def maybe_send_to_registration(
)
if multiuse_obj is not None:
- request.session.modified = True
streams_to_subscribe = list(multiuse_obj.streams.all())
prereg_user.streams.set(streams_to_subscribe)
prereg_user.invited_as = invited_as