Skip to content

Commit 028db3b

Browse files
committed
Add email verification warning to new organization
1 parent e7ad6fb commit 028db3b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

app/views/setup/organizations/new.html.erb

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,10 @@
44
Please enter the following information. Fields marked with * are mandatory.
55
</p>
66

7+
<% unless current_user.email_verified? %>
8+
<div class="alert alert-danger" role="alert">
9+
Warning: your email address is not verified. Please naviagate to your profile and validate your email address before proceeding.
10+
</div>
11+
<% end %>
12+
713
<%= render partial: 'form', locals: { url: setup_organizations_path, new: true } %>

0 commit comments

Comments
 (0)