SSO avatars not being overridden

For what it’s worth, it works fine. The main problem is that sso_overrides_avatar is misleadingly named, because it won’t, in fact, override a Gravatar set on a user.

The call to download_avatar_from_url here:

doesn’t pass override_gravatar, so:

doesn’t pass on override_gravatar, so:

won’t set it to the avatar from SSO.

Is this intentional behavior?