mirror of
https://github.com/snipe/snipe-it.git
synced 2025-02-02 08:21:09 -08:00
Always return an avatar, and set a fun default
This commit is contained in:
parent
dc805dd9b1
commit
bbda0dc3b4
|
@ -287,7 +287,8 @@ class UserPresenter extends Presenter
|
|||
return "//gravatar.com/avatar/".$gravatar;
|
||||
}
|
||||
|
||||
return false;
|
||||
// Set a fun, gender-neutral default icon
|
||||
return url('/').'/img/default-sm.png';
|
||||
|
||||
}
|
||||
|
||||
|
|
BIN
public/img/default-sm.png
Normal file
BIN
public/img/default-sm.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 18 KiB |
BIN
public/img/default.png
Normal file
BIN
public/img/default.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 28 KiB |
Loading…
Reference in a new issue