mirror of
https://github.com/zulip/zulip.git
synced 2025-11-14 02:48:00 +00:00
gear_menu: Link to /devlogin/ in development environment.
It’d be nicer to use hash_util.build_login_link which also remembers the current hash, but that doesn’t help when the gear menu is only rendered once at page load time. Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
5a9cba1bba
commit
ddcd69cb41
@@ -104,6 +104,7 @@ export function initialize() {
|
||||
can_invite_others_to_realm: settings_data.user_can_invite_others_to_realm(),
|
||||
corporate_enabled: page_params.corporate_enabled,
|
||||
is_guest: page_params.is_guest,
|
||||
login_link: page_params.development_environment ? "/devlogin/" : "/login/",
|
||||
promote_sponsoring_zulip: page_params.promote_sponsoring_zulip,
|
||||
show_billing: page_params.show_billing,
|
||||
show_plans: page_params.show_plans,
|
||||
|
||||
Reference in New Issue
Block a user