mirror of
https://github.com/moparisthebest/mail
synced 2025-03-03 02:01:45 -05:00
[WO-03-020] Fix insecure Default in Implementation of BCC Feature (Low)
Display warning to user when using BCC feature
This commit is contained in:
parent
4efab0daf0
commit
15ff8c85db
@ -200,6 +200,17 @@ var WriteCtrl = function($scope, $window, $filter, $q, appConfig, auth, keychain
|
||||
// Editing headers
|
||||
//
|
||||
|
||||
/**
|
||||
* Warn users when using BCC
|
||||
*/
|
||||
$scope.toggleShowBCC = function() {
|
||||
$scope.showBCC = true;
|
||||
return dialog.info({
|
||||
title: 'Warning',
|
||||
message: 'Cannot send encrypted messages with BCC!'
|
||||
});
|
||||
};
|
||||
|
||||
/**
|
||||
* Verify email address and fetch its public key
|
||||
*/
|
||||
|
@ -13,7 +13,7 @@
|
||||
focus-input-on-click>
|
||||
<div class="mail-addresses__more">
|
||||
<button wo-touch="showCC = true;" ng-hide="showCC">Cc</button>
|
||||
<button wo-touch="showBCC = true;" ng-hide="showBCC">Bcc</button>
|
||||
<button wo-touch="toggleShowBCC()" ng-hide="showBCC">Bcc</button>
|
||||
</div>
|
||||
<label>To:</label>
|
||||
<tags-input class="tags-input" ng-model="to" type="email" tabindex="1" add-on-space="true" add-on-enter="true" enable-editing-last-tag="true"
|
||||
|
Loading…
x
Reference in New Issue
Block a user