FEATURE #1359: add working user edit

Finally user can be edited in admin. Admin can change password and role of given user.
This commit is contained in:
Michal Kváček
2016-01-24 21:17:16 +01:00
parent 83f0ca08a1
commit bad25cb161
+30
View File
@@ -0,0 +1,30 @@
<?php
namespace App\Http\Requests;
use App\Http\Requests\Request;
class EditUserRequest extends Request
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return false;
}
/**
* Get the validation rules that apply to the request.
*
* @return array
*/
public function rules()
{
return [
//
];
}
}