correct login route
This commit is contained in:
parent
8dd6567ccc
commit
e771c4921f
|
@ -83,8 +83,8 @@
|
|||
<nav class="pure-menu pure-menu-horizontal custom-menu-right">
|
||||
<ul class="pure-menu-list">
|
||||
@if (Auth::guest())
|
||||
<li class="pure-menu-item {{ Route::currentRouteName() == 'access.login' ? 'active' : '' }}">
|
||||
<a class="pure-menu-link" href="{{ route('access.login') }}">LOGIN</a>
|
||||
<li class="pure-menu-item {{ Route::currentRouteName() == 'login' ? 'active' : '' }}">
|
||||
<a class="pure-menu-link" href="{{ route('login') }}">LOGIN</a>
|
||||
</li>
|
||||
<!--<li class="pure-menu-item"><a class="pure-menu-link" href="{{ url('register') }}">REGISTER</a></li>-->
|
||||
@else
|
||||
|
|
|
@ -89,8 +89,8 @@
|
|||
<h2 class="pure-menu-heading">Access Management <span class="fa fa-angle-down"></h2>
|
||||
<ul class="pure-menu-list treeview-menu {{ active_class(Route::is('access.*'), 'menu-open') }}" style="display: none; {{ active_class(Route::is('access.*'), 'display: block;') }}">
|
||||
@if (Auth::guest())
|
||||
<li class="pure-menu-item {{ Route::currentRouteName() == 'access.login' ? 'active' : '' }}">
|
||||
<a class="pure-menu-link" href="{{ route('access.login') }}">LOGIN</a>
|
||||
<li class="pure-menu-item {{ Route::currentRouteName() == 'login' ? 'active' : '' }}">
|
||||
<a class="pure-menu-link" href="{{ route('login') }}">LOGIN</a>
|
||||
</li>
|
||||
@else
|
||||
@permission('settings')
|
||||
|
|
|
@ -294,7 +294,7 @@ Route::get('settings/book/delete/{id}', [
|
|||
// 'password' => 'Auth\PasswordController',
|
||||
// ]);
|
||||
//Auth::routes();
|
||||
$this->get('login', 'Auth\LoginController@showLoginForm')->name('access.login');
|
||||
$this->get('login', 'Auth\LoginController@showLoginForm')->name('login');
|
||||
$this->post('login', 'Auth\LoginController@login');
|
||||
$this->get('logout', 'Auth\LoginController@logout')->name('logout');
|
||||
// Registration Routes...
|
||||
|
|
Loading…
Reference in New Issue
Block a user