enable us to disable registration
tests / ci (push) Waiting to run

This commit is contained in:
Mark Gregory
2026-11-16 10:12:10 +00:00
parent ff2ef836c6
commit 523d4f087f
11 changed files with 150 additions and 6 deletions
@@ -58,7 +58,7 @@
<button class="btn btn-primary" type="submit" data-test="login-button">{{ __('Log in') }}</button>
</form>
@if (Route::has('register'))
@if (Route::has('register') && \App\Support\PublicRegistration::enabled())
<p class="signup">{{ __('Don\'t have an account?') }} <a class="link" href="{{ route('register') }}">{{ __('Sign up') }}</a></p>
@endif