Disable Avatar education message when `allow_uploaded_avatars` is disabled

On my install, I disabled allow_uploaded_avatars since I built an SSO solution for an existing CMS installation (using Contao) and plan to use the already-available avatars from the website (not available yet). Thus users will never be able to upload profile pictures through Discourse.

However, the Avatar education message appeared recently which confused users. It should not appear when allow_uploaded_avatars is disabled, and while we’re at it, this should also be true when sso_overrides_avatar is set.

Related to: Setting to disable avatar education message

4 Likes

Good point, if avatars are overridden then we should skip this education panel. @techapj can you add that to your list?

4 Likes

Possible duplicate of:

Fixed via:

https://github.com/discourse/discourse/commit/e65a7370ef94f926386a9552063fd159ad310d41

3 Likes