Merge pull request #219 from johnswanson/master
Reconnect when token changes on successful connection
This commit is contained in:
commit
dc177a7a8f
|
@ -122,6 +122,7 @@ function(syscall, globalTimeout, alerts, utils, rootScope, uri, authconf, filter
|
|||
});
|
||||
|
||||
if (failed) {
|
||||
needNewConnection = true;
|
||||
alerts.addAlert('<strong>Oh Snap!</strong> Authentication failed while connecting to Aria2 RPC server. Will retry in 10 secs. You might want to confirm your authentication details by going to Settings > Connection Settings', 'error');
|
||||
timeout = setTimeout(update, globalTimeout);
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue
Block a user