Explorar o código

Add register link to login page

Matthew Barnes %!s(int64=2) %!d(string=hai) anos
pai
achega
930ce8da82
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      resources/views/auth/login.blade.php

+ 4 - 0
resources/views/auth/login.blade.php

@@ -69,6 +69,10 @@
                     <hr>
 
                     <p class="text-center font-weight-bold">
+                        @if(config_cache('pixelfed.open_registration'))
+                        <a href="/register">Register</a>
+                        <span class="px-1">·</span>
+                        @endif
                         <a href="{{ route('password.request') }}">
                             {{ __('Forgot Password') }}
                         </a>