Browse Source

Merge pull request #3713 from mb2g17/add-register-link-to-login-page

Add register link to login page
daniel 2 years ago
parent
commit
0a47d34075
1 changed files with 4 additions and 0 deletions
  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>