Fixed disabling registration does not remove "Register"-Link
https://github.com/JulianPrieber/littlelink-custom/issues/371
This commit is contained in:
parent
8a21ddfff6
commit
76987e6a6b
|
@ -98,7 +98,9 @@
|
|||
</div>
|
||||
|
||||
<div class="flex items-center justify-end mt-4">
|
||||
@if($page->register == 'true' or env('REGISTER_OVERRIDE') === true)
|
||||
<a class="underline text-sm text-gray-600 hover:text-gray-900" href="{{ route('register') }}">Register</a> 
|
||||
@endif
|
||||
@if (Route::has('password.request'))
|
||||
<a class="underline text-sm text-gray-600 hover:text-gray-900" href="{{ route('password.request') }}">
|
||||
{{ __('Forgot your password?') }}
|
||||
|
|
|
@ -113,6 +113,8 @@ foreach($pages as $page)
|
|||
</x-button>
|
||||
</div>
|
||||
</form>
|
||||
@endif
|
||||
@else
|
||||
<br><br><center><h3>Registration is disabled by the administrator</h3></center><br>
|
||||
@endif
|
||||
</x-auth-card>
|
||||
</x-guest-layout>
|
||||
|
|
Loading…
Reference in New Issue