feat(mail): new parameter to disable S/MIME certificates

This commit is contained in:
Francis Lachapelle
2021-08-11 18:18:29 -04:00
parent 90752c4382
commit 545cfe58c6
6 changed files with 26 additions and 1 deletions
+11 -1
View File
@@ -1,6 +1,6 @@
/* UIxAccountEditor.m - this file is part of SOGo
*
* Copyright (C) 2010-2017 Inverse inc.
* Copyright (C) 2010-2021 Inverse inc.
*
* This file is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -25,6 +25,8 @@
#import <SOGo/NSDictionary+Utilities.h>
#import <SOGo/NSString+Utilities.h>
#import <SOGo/SOGoDomainDefaults.h>
#import <SOGo/SOGoUser.h>
#import <SOGoUI/UIxComponent.h>
@@ -55,6 +57,14 @@
[super dealloc];
}
- (BOOL) showSecurityOptions
{
SOGoDomainDefaults *dd;
dd = [[context activeUser] domainDefaults];
return [dd mailCertificateEnabled];
}
- (BOOL) _validateFilterId
{