snipe-it/app/Http/Controllers/Users
snipe 039f5da0e1
Add image upload to user edit [ch10508] (#7877)
* Use correct Request include

* Updated to use additional form request

* Added SVG sanitizer

* Added response method to form request

* Allow ImageUploadRequest to accept fieldname params, added SVG sanitization, fixed delete

* Fixed upload path for avatars

* Added fieldname variable to blade partial for image upload

* Added enctype="multipart/form-data"  to form to allow uploads

* Added image field

* Updated Request::old() to use $request->old()

* Fixed derp in edit blade referring to $item when it should be $user

* Added svg+xml to image rule
2020-03-05 18:00:24 -08:00
..
BulkUsersController.php Use filled instead of has. (#6033) 2018-08-02 09:54:19 -07:00
LDAPImportController.php Minor code cleanup bits and bobs (#6805) 2019-03-13 20:12:03 -07:00
UserFilesController.php Use $request->input over Request::get() 2019-12-11 11:09:54 -08:00
UsersController.php Add image upload to user edit [ch10508] (#7877) 2020-03-05 18:00:24 -08:00