diff --git a/Bootstrap.Client/Models/HeaderBarModel.cs b/Bootstrap.Client/Models/HeaderBarModel.cs index 99749a3e..1412551e 100644 --- a/Bootstrap.Client/Models/HeaderBarModel.cs +++ b/Bootstrap.Client/Models/HeaderBarModel.cs @@ -33,7 +33,7 @@ namespace Bootstrap.Client.Models // set Icon var icon = $"/{DbHelper.RetrieveIconFolderPath().Trim('~', '/')}/{user.Icon}"; - Icon = $"{authHost.TrimEnd('/')}{icon}"; + Icon = string.IsNullOrEmpty(ConfigurationManager.GetValue("SimulateUserName", string.Empty)) ? $"{authHost.TrimEnd('/')}{icon}" : "/images/admin.jpg"; if (!string.IsNullOrEmpty(user.Css)) Theme = user.Css; } diff --git a/Bootstrap.Client/wwwroot/images/admin.jpg b/Bootstrap.Client/wwwroot/images/admin.jpg new file mode 100644 index 00000000..cea70dbf Binary files /dev/null and b/Bootstrap.Client/wwwroot/images/admin.jpg differ