1
0
mirror of https://github.com/bitwarden/server synced 2025-12-24 04:03:25 +00:00
This commit is contained in:
cd-bitwarden
2025-12-03 10:15:57 -05:00
parent 3fe93b5e01
commit f9d62ae0c5
2 changed files with 3 additions and 1 deletions

View File

@@ -138,6 +138,8 @@ public class Organization : ITableObject<Guid>, IStorableSubscriber, IRevisable
/// If set to true, disables Secrets Manager ads for users in the organization
/// </summary>
public bool UseDisableSmAdsForUsers { get; set; }
/// <summary>
/// If set to true, the organization has phishing protection enabled.
/// </summary>
public bool UsePhishingBlocker { get; set; }

View File

@@ -114,7 +114,7 @@ public class OrganizationRepository : Repository<Core.AdminConsole.Entities.Orga
UseOrganizationDomains = e.UseOrganizationDomains,
UseAdminSponsoredFamilies = e.UseAdminSponsoredFamilies,
UseAutomaticUserConfirmation = e.UseAutomaticUserConfirmation,
UseDisableSmAdsForUsers = e.UseDisableSmAdsForUsers
UseDisableSmAdsForUsers = e.UseDisableSmAdsForUsers,
UsePhishingBlocker = e.UsePhishingBlocker
}).ToListAsync();
}