Files
core/app/Http/Requests/LoginRequest.php
T
Michal Kváček 8a91a95a67 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!
2016-01-24 15:08:59 +01:00

20 lines
328 B
PHP

<?php
namespace App\Http\Requests;
class LoginRequest extends Request
{
/**
* Get the validation rules that apply to the request.
*
* @return array
*/
public function rules()
{
return [
'email' => 'required|email',
'password' => 'required'
];
}
}