Remove old warning code about unconfigured 'hmac_key'

This commit is contained in:
Samantaz Fox
2023-07-01 21:53:56 +02:00
parent a0cc807821
commit d7568ac45a
2 changed files with 2 additions and 15 deletions

View File

@@ -111,14 +111,6 @@
</div>
<% end %>
<% if env.get? "user" %>
<% if !HMAC_KEY_CONFIGURED && CONFIG.admins.includes? env.get("user").as(Invidious::User).email %>
<div class="h-box">
<h3><p>Message for admin: please configure hmac_key, <a href="https://github.com/iv-org/invidious/issues/3854">see more here</a>.</p></h3>
</div>
<% end %>
<% end %>
<%= content %>
<footer>