Skip to content
This repository has been archived by the owner on Jan 6, 2020. It is now read-only.

Commit

Permalink
Merge deff11c into f0e895a
Browse files Browse the repository at this point in the history
  • Loading branch information
hitman401 committed Jul 28, 2016
2 parents f0e895a + deff11c commit 360c445
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
3 changes: 2 additions & 1 deletion app/scripts/controllers/user_controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@ window.safeLauncher.controller('userController', [ '$scope', '$state', '$rootSco
$rootScope.clearIntervals();
$rootScope.resetStats();
$rootScope.resetAppStates();
server.reconnectNetwork();
server.stopProxyServer();
server.reconnectNetwork();
$state.go('app.account', {
currentPage: 'login'
});
Expand Down
9 changes: 1 addition & 8 deletions app/scripts/factories/event_register.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,14 +87,7 @@ window.safeLauncher.factory('eventRegistrationFactory', [ '$rootScope', 'serverF
// handle proxy start
server.onProxyStart(function(msg) {
$rootScope.$proxyServer = true;
$rootScope.setProxy(true);
$rootScope.$toaster.show({
msg: 'Proxy Server started',
hasOption: false,
isError: false
}, function(err, data) {
console.log('Proxy Server started');
});
$rootScope.setProxy(true);
});

// handle proxy stop
Expand Down

0 comments on commit 360c445

Please sign in to comment.