Skip to content

Commit

Permalink
#134 - reauth on network change
Browse files Browse the repository at this point in the history
  • Loading branch information
pliablepixels committed Jan 9, 2016
1 parent a3fdbf3 commit f670cb4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion www/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -669,7 +669,9 @@ angular.module('zmApp', [
$window.addEventListener("online", function () {
$rootScope.$apply(function() {
$rootScope.online = true;
ZMDataModel.zmLog ("Your network is online");
ZMDataModel.zmLog ("Your network is online, re-authenticating");
zmAutoLogin.doLogin("re-authenticating");

});
}, false);

Expand Down

0 comments on commit f670cb4

Please sign in to comment.