registration disabled
This commit is contained in:
parent
8d83d54657
commit
494aaedf3e
@ -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>
|
||||
|
@ -14,7 +14,7 @@
|
||||
Route::get('/', function () {
|
||||
return view('home');
|
||||
});
|
||||
Auth::routes();
|
||||
Auth::routes(['register' => false]);
|
||||
|
||||
Route::get('/home', 'HomeController@index')->name('home');
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user