From ab212fcdb5b31df052178e2637c8c1c47e5c55e2 Mon Sep 17 00:00:00 2001 From: Nicolas Gotchac Date: Wed, 23 Nov 2016 17:51:08 +0100 Subject: [PATCH] Localstorage SignerToken first #3587 --- js/src/secureApi.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/src/secureApi.js b/js/src/secureApi.js index 5a5c05f51..cb011f02a 100644 --- a/js/src/secureApi.js +++ b/js/src/secureApi.js @@ -31,7 +31,7 @@ export default class SecureApi extends Api { this._followConnectionTimeoutId = null; // 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(); }