Changeset 24a616f for app/Http/Requests
- Timestamp:
- 10/13/21 15:44:57 (3 years ago)
- Branches:
- develop, master
- Children:
- 120759b
- Parents:
- 194a359
- Location:
- app/Http/Requests/Dashboard
- Files:
-
- 2 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
app/Http/Requests/Dashboard/NewUserRequest.php
r194a359 r24a616f 30 30 "email" => "required|string|email|max:255|unique:users,email", 31 31 "username" => "required|min:8|unique:users,username", 32 "userRole" => "required|exists:roles,id" 32 "userRole" => "required|exists:roles,id", 33 "avatar" => "mimes:jpeg,png,gif|max:5000", 33 34 ]; 34 35 } -
app/Http/Requests/Dashboard/UpdateUserRequest.php
r194a359 r24a616f 30 30 "email" => "required|string|email|max:255|unique:users,email,$this->id,id", 31 31 "username" => "required|min:8|unique:users,username,$this->id,id", 32 "userRole" => "required|exists:roles,id" 32 "userRole" => "required|exists:roles,id", 33 "avatar" => "mimes:jpeg,png,gif|max:5000", 33 34 ]; 34 35 }
Note:
See TracChangeset
for help on using the changeset viewer.