Index: remoting/webapp/crd/js/host_list.js |
diff --git a/remoting/webapp/crd/js/host_list.js b/remoting/webapp/crd/js/host_list.js |
index cdee3057d6ac7d60fd910ccdb3511af7512c0a1e..fd39e96fc716bbf10f665781c2b7f5b8aea55831 100644 |
--- a/remoting/webapp/crd/js/host_list.js |
+++ b/remoting/webapp/crd/js/host_list.js |
@@ -482,9 +482,7 @@ remoting.HostList.prototype.onLocalHostStarted = function( |
*/ |
remoting.HostList.prototype.onErrorClick_ = function() { |
if (this.lastError_ == remoting.Error.AUTHENTICATION_FAILED) { |
- remoting.oauth2.doAuthRedirect(function() { |
- window.location.reload(); |
- }); |
+ remoting.handleAuthFailureAndRelaunch(); |
} else { |
this.refresh(remoting.updateLocalHostState); |
} |