Skip to content
This repository was archived by the owner on Aug 28, 2025. It is now read-only.

Commit da3baa0

Browse files
committed
Only show verification nudge if instance can send email
1 parent c081351 commit da3baa0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

templates/components/snackbar.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
{% if can_send_mail() %}
12
<div
23
x-data
34
x-show="window.init.userId && !window.init.userVerified && localStorage.getItem('remind_email_verify') != window.init.userId && (!['/team', '/teams/join', '/teams/new'].includes(window.location.pathname) || window.init.teamId != null)"
@@ -11,3 +12,4 @@
1112
</small>
1213
<button type="button" class="btn-close" @click="localStorage.setItem('remind_email_verify', window.init.userId); $el.parentElement.style.display = 'none';" aria-label="Close"></button>
1314
</div>
15+
{% endif %}

0 commit comments

Comments
 (0)