registration disabled

This commit is contained in:
s416422 2020-03-10 00:15:22 +01:00
parent 8d83d54657
commit 494aaedf3e
2 changed files with 6 additions and 6 deletions

View File

@ -41,11 +41,11 @@
<li class="nav-item">
<a class="nav-link" href="{{ route('login') }}">{{ __('Zaloguj się') }}</a>
</li>
@if (Route::has('register'))
<li class="nav-item">
<a class="nav-link" href="{{ route('register') }}">{{ __('Zarejestruj się') }}</a>
</li>
@endif
{{--@if (Route::has('register'))--}}
{{--<li class="nav-item">--}}
{{--<a class="nav-link" href="{{ route('register') }}">{{ __('Zarejestruj się') }}</a>--}}
{{--</li>--}}
{{--@endif--}}
@else
<a href="{{ route('user_subjects') }}" class="nav-link"> Moje przedmioty </a>
<a href="{{ route('user_classes') }}" class="nav-link"> Sprawdź obecność </a>

View File

@ -14,7 +14,7 @@
Route::get('/', function () {
return view('home');
});
Auth::routes();
Auth::routes(['register' => false]);
Route::get('/home', 'HomeController@index')->name('home');