mirror of
https://github.com/snipe/snipe-it.git
synced 2026-02-04 19:15:38 +00:00
Always return an avatar, and set a fun default
This commit is contained in:
@ -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 |
Reference in New Issue
Block a user