Skip to content
This repository has been archived by the owner on Oct 8, 2019. It is now read-only.

Commit

Permalink
Merge pull request #291 from blockchain/ip-restrict
Browse files Browse the repository at this point in the history
fix(security): show error when enable ip restrict fails
  • Loading branch information
Sjors committed Jan 29, 2016
2 parents 1422d28 + 9b05579 commit 66e39ce
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion assets/js/services/wallet.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -1139,7 +1139,7 @@ function Wallet( $http, $window, $timeout, $location, Alerts, MyWallet
wallet.saveActivity(2);
$rootScope.$safeApply();
}, () => {
console.log('Failed');
$translate('ERR_ENABLE_IP_RESTRICT').then(Alerts.displayError);
$rootScope.$safeApply();
});
};
Expand Down
3 changes: 2 additions & 1 deletion locales/en-human.json
Original file line number Diff line number Diff line change
Expand Up @@ -544,5 +544,6 @@
"CHECKING_LOGIN_ATTEMPT" : "Checking login attempt",
"SEARCH" : "Search",
"BALANCES" : "Balances",
"MUST_SELECT_ORIGIN" :"Must select where to send from"
"MUST_SELECT_ORIGIN" : "Must select where to send from",
"ERR_ENABLE_IP_RESTRICT" : "You must add at least one IP address to the whitelist to enable Login IP Restriction"
}

0 comments on commit 66e39ce

Please sign in to comment.