Open reiserfs opened 3 months ago
We do handle avatars from http or https tho.
yes i saw that, but this do not work in users edit profile.
Also in account/profile [snipe-it/app/Presenters/UserPresenter.php] is not used.
That's not really going to work though, because it would prevent admins from overwriting asset, etc images that were populated with URLs but need to be updated with something locally or with no image at all.
(Also, it's generally better to keep PHP logic and variable setting out of the blades)
Same issue for me. When I login with Google Workspace the avatar image is broken. If I replace the image with my own it appears till the next login, because the image "link" fall back to the Google image. My image is not retained in the DB configurazione of the user.
Debug mode
Describe the bug
In the view -> resources/views/partials/forms/edit/image-upload.blade.php
the code do not handle the avatar if is a url from workspace with http or https on it.
i made some changes to work with google workspace avatar, also disable delete form in case is an url.
Reproduction steps
Expected behavior
Show avatar
Screenshots
No response
Snipe-IT Version
v7.0.10
Operating System
docker
Web Server
snipe/snipe-it:v7.0.10
PHP Version
8.1.2-1ubuntu2.18
Operating System
No response
Browser
No response
Version
No response
Device
No response
Operating System
No response
Browser
No response
Version
No response
Error messages
No response
Additional context
No response