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:18:27 +01:00
parent bad25cb161
commit 1767872402
6 changed files with 85 additions and 27 deletions
+1 -13
View File
@@ -2,20 +2,8 @@
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.
*
@@ -24,7 +12,7 @@ class EditUserRequest extends Request
public function rules()
{
return [
//
'email' => 'required|email'
];
}
}