mirror of
https://github.com/bitwarden/browser
synced 2025-12-12 14:23:32 +00:00
17 lines
441 B
JavaScript
17 lines
441 B
JavaScript
angular
|
|
.module('bit.settings')
|
|
|
|
.controller('settingsController', function ($scope, loginService, $state, syncService) {
|
|
$scope.sync = function () {
|
|
syncService.fullSync(function () {
|
|
alert('Sync done!');
|
|
});
|
|
};
|
|
|
|
$scope.logOut = function (model) {
|
|
loginService.logOut(function () {
|
|
$state.go('login');
|
|
});
|
|
};
|
|
});
|