BAC-1046: show a message when avatar uploads are disabled

Backported #2199