Finally user can be edited in admin. Admin can change password and role of given user.
19 lines
290 B
PHP
19 lines
290 B
PHP
<?php
|
|
|
|
namespace App\Http\Requests;
|
|
|
|
class EditUserRequest extends Request
|
|
{
|
|
/**
|
|
* Get the validation rules that apply to the request.
|
|
*
|
|
* @return array
|
|
*/
|
|
public function rules()
|
|
{
|
|
return [
|
|
'email' => 'required|email'
|
|
];
|
|
}
|
|
}
|