mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 08:13:42 +00:00
move api services to background page. wire up log in and log out.
This commit is contained in:
@@ -1,6 +1,10 @@
|
||||
angular
|
||||
.module('bit.settings')
|
||||
|
||||
.controller('settingsController', function ($scope) {
|
||||
|
||||
.controller('settingsController', function ($scope, loginService, $state) {
|
||||
$scope.logOut = function (model) {
|
||||
loginService.logOut(function () {
|
||||
$state.go('login');
|
||||
});
|
||||
};
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user