mirror of
https://github.com/bitwarden/browser
synced 2026-01-06 02:23:44 +00:00
remove gravatar for letter avatars #4
This commit is contained in:
@@ -5,8 +5,12 @@ angular
|
||||
$scope.$state = $state;
|
||||
$scope.params = $state.params;
|
||||
$scope.orgs = [];
|
||||
$scope.name = '';
|
||||
|
||||
authService.getUserProfile().then(function (userProfile) {
|
||||
$scope.name = userProfile.extended && userProfile.extended.name ?
|
||||
userProfile.extended.name : userProfile.email;
|
||||
|
||||
if (!userProfile.organizations) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user