mirror of https://github.com/zulip/zulip.git
dev login page: Add all non-zulip users as community users.
We create a new realm and user when running populate_analytics_db.py, in a realm that is neither 'zulip' nor 'simple'.
This commit is contained in:
parent
b7df84d5a8
commit
92e8cad42a
|
@ -347,7 +347,7 @@ def login_page(request, **kwargs):
|
|||
if not u.is_realm_admin and u.realm.string_id == 'zulip']
|
||||
extra_context['community_users'] = [
|
||||
u.email for u in users
|
||||
if u.realm.string_id == 'simple']
|
||||
if u.realm.string_id != 'zulip']
|
||||
template_response = django_login_page(
|
||||
request, authentication_form=OurAuthenticationForm,
|
||||
extra_context=extra_context, **kwargs)
|
||||
|
|
Loading…
Reference in New Issue