home: Allow logged out user through home.

We allow user to load webapp without log-in. This is only
be enabled for developed purposes now. Production setups will
see no changes.
This commit is contained in:
Aman Agrawal
2020-09-27 10:19:16 +05:30
committed by Tim Abbott
parent 13f95dfc2b
commit 87cdd8433d
11 changed files with 103 additions and 36 deletions

View File

@@ -35,8 +35,7 @@ class PublicURLTest(ZulipTestCase):
get_urls = {200: ["/accounts/home/", "/accounts/login/",
"/en/accounts/home/", "/ru/accounts/home/",
"/en/accounts/login/", "/ru/accounts/login/",
"/help/"],
302: ["/", "/en/", "/ru/"],
"/help/", "/", "/en/", "/ru/"],
400: ["/json/messages",
],
401: [f"/json/streams/{denmark_stream_id}/members",