Файловый менеджер - Редактировать - /home/clickysoft/public_html/travel-guru.clickysoft.net/app/Http/Requests/Admin/UserAccountUpdateRequest.php
Назад
<?php namespace App\Http\Requests\Admin; use App\Models\User; use Illuminate\Foundation\Http\FormRequest; use Illuminate\Support\Facades\Auth; class UserAccountUpdateRequest extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { return true; } /** * Get the validation rules that apply to the request. * * @return array<string, mixed> */ public function rules() { return [ 'full_name' => 'required|max:40', 'email' => 'required|unique:users,email,' . Auth::id() . '|max:255', 'profile_picture' => 'sometimes|nullable|image|max:2048', ]; } public function messages() { return [ 'password.regex' => 'Password must contain combination of uppercase, lowercase letters, numbers, and special characters', 'password.confirmed' => 'The new password confirmation does not match.' ]; } }
| ver. 1.4 |
Github
|
.
| PHP 8.1.29 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка