Файловый менеджер - Редактировать - /home/clickysoft/public_html/assets.clickysoft.net/app/Http/Requests/UpdateProfileRequest.php
Назад
<?php namespace App\Http\Requests; use Gate; use Illuminate\Foundation\Http\FormRequest; use Illuminate\Http\Response; class UpdateProfileRequest extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { abort_if(Gate::denies('profile_password_edit'), Response::HTTP_FORBIDDEN, '403 Forbidden'); return true; } /** * Get the validation rules that apply to the request. * * @return array */ public function rules() { return [ 'first_name' => ["required", "string", "max:30"], 'last_name' => ["nullable", "string", "max:30"], 'email' => ['required', 'string', 'email', 'max:255', 'unique:users,email,' . auth()->id()], 'contact_number' => ["nullable", "string", "min:10", "max:13"], ]; } }
| ver. 1.4 |
Github
|
.
| PHP 8.1.29 | Генерация страницы: 0.01 |
proxy
|
phpinfo
|
Настройка