1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-19 01:33:33 +00:00

Refactored rename of Sites => Logins

This commit is contained in:
Kyle Spearrin
2017-01-03 18:40:07 -05:00
parent fcce60eccd
commit fb486003b5
34 changed files with 601 additions and 601 deletions

View File

@@ -1,7 +1,7 @@
angular
.module('bit.settings')
.controller('settingsController', function ($scope, loginService, $state, SweetAlert, utilsService, $analytics,
.controller('settingsController', function ($scope, authService, $state, SweetAlert, utilsService, $analytics,
i18nService, constantsService, cryptoService) {
utilsService.initListSectionItemListeners($(document), angular);
$scope.lockOption = '';
@@ -38,7 +38,7 @@
}, function (confirmed) {
if (confirmed) {
cryptoService.toggleKey(function () { });
loginService.logOut(function () {
authService.logOut(function () {
$analytics.eventTrack('Logged Out');
$state.go('home');
});
@@ -58,7 +58,7 @@
cancelButtonText: i18nService.cancel
}, function (confirmed) {
if (confirmed) {
loginService.logOut(function () {
authService.logOut(function () {
$analytics.eventTrack('Logged Out');
$state.go('home');
});