diff --git a/web/src/UserListPage.js b/web/src/UserListPage.js index c57d3eb0..3a60d496 100644 --- a/web/src/UserListPage.js +++ b/web/src/UserListPage.js @@ -70,7 +70,7 @@ class UserListPage extends BaseListPage { password: "123", passwordSalt: "", displayName: `New User - ${randomName}`, - avatar: `${Setting.StaticBaseUrl}/img/casbin.svg`, + avatar: this.state.organization.defaultAvatar ?? `${Setting.StaticBaseUrl}/img/casbin.svg`, email: `${randomName}@example.com`, phone: Setting.getRandomNumber(), countryCode: this.state.organization.countryCodes?.length > 0 ? this.state.organization.countryCodes[0] : "",