Browse Source

Update landing page, use config_cache

Daniel Supernault 4 years ago
parent
commit
549202948d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      resources/views/site/index.blade.php

+ 1 - 1
resources/views/site/index.blade.php

@@ -127,7 +127,7 @@
 						</div>
 						<div class="card shadow-none border card-body">
 							<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>
 								<span class="px-1">·</span>
 								@endif