feat: ldap avatar support

This commit is contained in:
NGPixel
2020-09-07 20:02:33 -04:00
parent dab5dcfbc1
commit 78417524b3
6 changed files with 111 additions and 11 deletions

View File

@@ -305,7 +305,7 @@ export default {
if (this.pictureUrl && this.pictureUrl.length > 1) {
return {
kind: 'image',
url: this.pictureUrl
url: (this.pictureUrl === 'internal') ? `/_userav/${this.$store.get('user/id')}` : this.pictureUrl
}
} else {
const nameParts = this.name.toUpperCase().split(' ')