registration disabled
This commit is contained in:
parent
8d83d54657
commit
494aaedf3e
@ -41,11 +41,11 @@
|
|||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a class="nav-link" href="{{ route('login') }}">{{ __('Zaloguj się') }}</a>
|
<a class="nav-link" href="{{ route('login') }}">{{ __('Zaloguj się') }}</a>
|
||||||
</li>
|
</li>
|
||||||
@if (Route::has('register'))
|
{{--@if (Route::has('register'))--}}
|
||||||
<li class="nav-item">
|
{{--<li class="nav-item">--}}
|
||||||
<a class="nav-link" href="{{ route('register') }}">{{ __('Zarejestruj się') }}</a>
|
{{--<a class="nav-link" href="{{ route('register') }}">{{ __('Zarejestruj się') }}</a>--}}
|
||||||
</li>
|
{{--</li>--}}
|
||||||
@endif
|
{{--@endif--}}
|
||||||
@else
|
@else
|
||||||
<a href="{{ route('user_subjects') }}" class="nav-link"> Moje przedmioty </a>
|
<a href="{{ route('user_subjects') }}" class="nav-link"> Moje przedmioty </a>
|
||||||
<a href="{{ route('user_classes') }}" class="nav-link"> Sprawdź obecność </a>
|
<a href="{{ route('user_classes') }}" class="nav-link"> Sprawdź obecność </a>
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
Route::get('/', function () {
|
Route::get('/', function () {
|
||||||
return view('home');
|
return view('home');
|
||||||
});
|
});
|
||||||
Auth::routes();
|
Auth::routes(['register' => false]);
|
||||||
|
|
||||||
Route::get('/home', 'HomeController@index')->name('home');
|
Route::get('/home', 'HomeController@index')->name('home');
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user