Localstorage SignerToken first #3587

This commit is contained in:
Nicolas Gotchac 2016-11-23 17:51:08 +01:00
parent abcccbe7cc
commit ab212fcdb5

View File

@ -31,7 +31,7 @@ export default class SecureApi extends Api {
this._followConnectionTimeoutId = null; this._followConnectionTimeoutId = null;
// Try tokens from hash, then from localstorage // Try tokens from hash, then from localstorage
this._tokensToTry = [ nextToken, sysuiToken ].filter((t) => t && t.length); this._tokensToTry = [ sysuiToken, nextToken ].filter((t) => t && t.length);
this._followConnection(); this._followConnection();
} }