mirror of
https://github.com/zulip/zulip.git
synced 2025-11-09 16:37:23 +00:00
This makes it mandatory to narrow the type of the user to `UserProfile` before calling this helper. This effectively removes the `request.user` check. We do not call login_page anywhere else without getting through the authentication middleware. Signed-off-by: Zixuan James Li <p359101898@gmail.com>
23 KiB
23 KiB