Update landing page, use config_cache

This commit is contained in:
Daniel Supernault 2021-06-07 19:28:26 -06:00
parent 2d5a259e6f
commit 549202948d
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -127,7 +127,7 @@
</div> </div>
<div class="card shadow-none border card-body"> <div class="card shadow-none border card-body">
<p class="text-center mb-0 font-weight-bold small"> <p class="text-center mb-0 font-weight-bold small">
@if(config('pixelfed.open_registration')) @if(config_cache('pixelfed.open_registration'))
<a href="/register">Register</a> <a href="/register">Register</a>
<span class="px-1">·</span> <span class="px-1">·</span>
@endif @endif