FIX: fix login
Login should work again. Problem was in non-setting sessions. This was resolved by adding middleware "web" to admin group. Thanks to great documentation for NOT MENTIONING this pitfall!
This commit is contained in:
@@ -4,11 +4,9 @@
|
||||
<meta charset="utf-8" />
|
||||
<meta http-equiv="x-ua-compatible" content="ie=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
@yield('head_meta')
|
||||
<title>@lang('admin/loginForm.login') | {{$vendorName}}</title>
|
||||
<link rel="stylesheet" href="{{asset('../resources/assets/css/foundation.css')}}" />
|
||||
<link rel="stylesheet" href="{{asset('../resources/assets/css/admin.css')}}" />
|
||||
@yield('head_stylesheets')
|
||||
</head>
|
||||
<body>
|
||||
|
||||
@@ -29,7 +27,7 @@
|
||||
|
||||
<label>
|
||||
@lang('admin/loginForm.email')
|
||||
<input type="text" placeholder="somebody@example.com" name="email">
|
||||
<input type="text" placeholder="somebody@example.com" value="{{old('email')}}" name="email">
|
||||
|
||||
@if ($errors->has('email'))
|
||||
<div data-alert class="callout alert text-center small">
|
||||
|
||||
Reference in New Issue
Block a user