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:
Michal Kváček
2016-01-24 15:08:59 +01:00
parent 2ade14beba
commit 8a91a95a67
11 changed files with 40 additions and 80 deletions
@@ -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">