demo-orgs: Enable admin of auth methods for owner without email.

There is no technical reason to block updating the authentication
methods for the demo organization when the owner has not yet set
an email.

If they get locked out of the demo organization when they set an
email address for their account, they can just create another demo
organization. These organizations are primarily intended to be
temporary sandboxes for trying out Zulip.

Co-authored-by: Maneesh Shukla <shuklamaneesh24@gmail.com>
This commit is contained in:
Lauryn Menard
2025-05-12 16:00:27 +02:00
committed by Tim Abbott
parent 36b63adc03
commit 3a87b467e9
2 changed files with 1 additions and 20 deletions

View File

@@ -2,14 +2,6 @@
{{#unless is_owner}}
<div class='tip'>{{t "Only organization owners can edit these settings."}}</div>
{{/unless}}
{{#unless user_has_email_set}}
<div class="tip">
{{#tr}}
You must <z-link>configure your email</z-link> to access this feature.
{{#*inline "z-link"}}<a href="/help/demo-organizations#configure-email-for-demo-organization-owner" target="_blank" rel="noopener noreferrer">{{> @partial-block }}</a>{{/inline}}
{{/tr}}
</div>
{{/unless}}
<form class="admin-realm-form org-authentications-form">
<div id="org-auth_settings" class="settings-subsection-parent">
<div class ="subsection-header">