From 38196e8f763707dc88e4bf9efd0202b32225b0ee Mon Sep 17 00:00:00 2001 From: ErickSkrauch Date: Tue, 25 Oct 2016 02:40:05 +0300 Subject: [PATCH] =?UTF-8?q?=D0=92=D1=80=D0=B5=D0=BC=D0=B5=D0=BD=D0=BD?= =?UTF-8?q?=D1=8B=D0=B9=20=D1=84=D0=B8=D0=BA=D1=81=20=D0=B4=D0=BB=D1=8F=20?= =?UTF-8?q?=D0=BF=D1=80=D0=BE=D1=86=D0=B5=D1=81=D1=81=D0=B0=20=D0=B0=D0=B2?= =?UTF-8?q?=D1=82=D0=BE=D1=80=D0=B8=D0=B7=D0=B0=D1=86=D0=B8=D0=B8=20(?= =?UTF-8?q?=D0=A1=D0=B2=D1=8F=D1=82,=20=D1=8D=D1=82=D0=BE=20=D0=BD=D1=83?= =?UTF-8?q?=D0=B6=D0=BD=D0=BE=20=D0=B1=D1=83=D0=B4=D0=B5=D1=82=20=D0=BF?= =?UTF-8?q?=D0=BE=D0=B4=D0=BB=D0=B0=D1=82=D0=B0=D1=82=D1=8C)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/services/authFlow/AuthFlow.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/services/authFlow/AuthFlow.js b/src/services/authFlow/AuthFlow.js index 001b884..8f48ff6 100644 --- a/src/services/authFlow/AuthFlow.js +++ b/src/services/authFlow/AuthFlow.js @@ -191,6 +191,9 @@ export default class AuthFlow { * @return {bool} - whether oauth state is being restored */ restoreOAuthState() { + // TODO: Свят, тут бага + return false; + try { const data = JSON.parse(localStorage.getItem('oauthData')); const expirationTime = 2 * 60 * 60 * 1000; // 2h