FEATURE #1358: finish login

Login form should look like finished part of application.
This commit is contained in:
Michal Kváček
2016-01-22 14:00:16 +01:00
parent c801c30dc9
commit dbd551152c
4 changed files with 91 additions and 16 deletions
+29
View File
@@ -0,0 +1,29 @@
<?php
namespace App\Http\Requests;
class LoginRequest extends Request
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return true;
}
/**
* Get the validation rules that apply to the request.
*
* @return array
*/
public function rules()
{
return [
'email' => 'required|email',
'password' => 'required'
];
}
}