mirror of
https://github.com/go-gitea/gitea.git
synced 2024-05-11 05:55:29 +00:00
123f0aea00
* Allow LDAP Sources to provide Avatars Add setting to LDAP source to allow it to provide an Avatar. Currently this is required to point to the image bytes. Fix #4144 Signed-off-by: Andrew Thornton <[email protected]> * Rename as Avatar Attribute (drop JPEG) Signed-off-by: Andrew Thornton <[email protected]> * Always synchronize avatar if there is change Signed-off-by: Andrew Thornton <[email protected]> * Actually get the avatar from the ldap Signed-off-by: Andrew Thornton <[email protected]> * clean-up Signed-off-by: Andrew Thornton <[email protected]> * use len()>0 rather than != "" Signed-off-by: Andrew Thornton <[email protected]> * slight shortcut in IsUploadAvatarChanged Signed-off-by: Andrew Thornton <[email protected]> Co-authored-by: techknowlogick <[email protected]>