Просмотр исходного кода

Add register link to login page

Matthew Barnes 2 лет назад
Родитель
Сommit
930ce8da82
1 измененных файлов с 4 добавлено и 0 удалено
  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>