Changeset d795fa6 for app/Http/Requests/Dashboard/UpdateUserRequest.php
- Timestamp:
- 10/17/21 18:39:50 (3 years ago)
- Branches:
- develop, master
- Children:
- bd9e8e3
- Parents:
- 120759b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
app/Http/Requests/Dashboard/UpdateUserRequest.php
r120759b rd795fa6 25 25 { 26 26 return [ 27 "name" => "required|alpha|min:2|max: 255",28 "surname" => "required|alpha|min:2|max: 255",29 " mobile_number" => "required|unique:users,mobile_number,$this->id,id",30 "email" => "required|string|email|max: 255|unique:users,email,$this->id,id",31 "username" => "required|min: 8|unique:users,username,$this->id,id",27 "name" => "required|alpha|min:2|max:30", 28 "surname" => "required|alpha|min:2|max:30", 29 "phone_number" => "required|unique:users,phone_number,$this->id,id", 30 "email" => "required|string|email|max:50|unique:users,email,$this->id,id", 31 "username" => "required|min:5|unique:users,username,$this->id,id", 32 32 "userRole" => "required|exists:roles,id", 33 33 "avatar" => "mimes:jpeg,png,gif|max:5000",
Note:
See TracChangeset
for help on using the changeset viewer.