Commit e5afa237 authored by jamiewalch's avatar jamiewalch Committed by Commit bot

Don't relaunch app for non-auth errors.

BUG=464020

Review URL: https://codereview.chromium.org/968193006

Cr-Commit-Position: refs/heads/master@{#319151}
parent 7de34a73
......@@ -182,7 +182,7 @@ remoting.showErrorMessage = function(error) {
document.getElementById('token-refresh-error-message'),
error);
var auth_failed = (error == remoting.Error.AUTHENTICATION_FAILED);
if (base.isAppsV2()) {
if (auth_failed && base.isAppsV2()) {
remoting.handleAuthFailureAndRelaunch();
} else {
document.getElementById('token-refresh-auth-failed').hidden = !auth_failed;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment