mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-07-17 06:14:54 +00:00
feat(mail): new parameter to disable S/MIME certificates
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
@@ -238,6 +238,7 @@
|
||||
</md-tab>
|
||||
|
||||
<!-- security tab -->
|
||||
<var:if condition="showSecurityOptions">
|
||||
<md-tab id="accountSecurityView" ng-disabled="$AccountDialogController.account.isNew" label:label="Security">
|
||||
<md-content id="accountSecurityContent" class="md-padding">
|
||||
|
||||
@@ -345,6 +346,7 @@
|
||||
|
||||
</md-content>
|
||||
</md-tab>
|
||||
</var:if>
|
||||
|
||||
</md-tabs>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user