From 419cb7fbadbc6695e3f7c73d55c456bb54d12278 Mon Sep 17 00:00:00 2001 From: Satsuki Yanagi <17376330+u1-liquid@users.noreply.github.com> Date: Thu, 2 May 2019 06:24:32 +0900 Subject: Remove unwanted ! character in user token regex (#4830) --- src/client/app/mios.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/client') diff --git a/src/client/app/mios.ts b/src/client/app/mios.ts index b69c340528..191b72e5bf 100644 --- a/src/client/app/mios.ts +++ b/src/client/app/mios.ts @@ -195,7 +195,7 @@ export default class MiOS extends EventEmitter { }); } else { // Get token from cookie or localStorage - const i = (document.cookie.match(/i=(!\w+)/) || [null, null])[1] || localStorage.getItem('i'); + const i = (document.cookie.match(/i=(\w+)/) || [null, null])[1] || localStorage.getItem('i'); fetchme(i, me => { if (me) { -- cgit v1.2.3-freya