mirror of
https://git.nadeko.net/Fijxu/invidious.git
synced 2026-01-06 23:11:26 +00:00
Make config a constant
Instead of passing around `config` there is now the global `CONFIG`.
This commit is contained in:
@@ -87,7 +87,7 @@
|
||||
<i class="icon ion-ios-cog"></i>
|
||||
</a>
|
||||
</div>
|
||||
<% if config.login_enabled %>
|
||||
<% if CONFIG.login_enabled %>
|
||||
<div class="pure-u-1-3">
|
||||
<a href="/login?referer=<%= env.get?("current_page") %>" class="pure-menu-heading">
|
||||
<%= translate(locale, "Log in") %>
|
||||
|
||||
Reference in New Issue
Block a user