Files
core/app/Http/Requests/EditUserRequest.php
T
Michal Kváček bad25cb161 FEATURE #1359: add working user edit
Finally user can be edited in admin. Admin can change password and role of given user.
2016-01-24 21:17:16 +01:00

31 lines
472 B
PHP

<?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 [
//
];
}
}