mirror of
https://github.com/moparisthebest/mail
synced 2024-11-25 02:12:17 -05:00
Merge pull request #328 from whiteout-io/dev/WO-952
[WO-03-020] Fix insecure Default in Implementation of BCC Feature (Low)
This commit is contained in:
commit
7540ffcab5
@ -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…
Reference in New Issue
Block a user