mirror of
https://github.com/elyby/accounts-frontend.git
synced 2024-07-03 05:25:41 +05:30
Временный фикс для процесса авторизации (Свят, это нужно будет подлатать)
This commit is contained in:
parent
f0628fde1a
commit
38196e8f76
|
@ -191,6 +191,9 @@ export default class AuthFlow {
|
||||||
* @return {bool} - whether oauth state is being restored
|
* @return {bool} - whether oauth state is being restored
|
||||||
*/
|
*/
|
||||||
restoreOAuthState() {
|
restoreOAuthState() {
|
||||||
|
// TODO: Свят, тут бага
|
||||||
|
return false;
|
||||||
|
|
||||||
try {
|
try {
|
||||||
const data = JSON.parse(localStorage.getItem('oauthData'));
|
const data = JSON.parse(localStorage.getItem('oauthData'));
|
||||||
const expirationTime = 2 * 60 * 60 * 1000; // 2h
|
const expirationTime = 2 * 60 * 60 * 1000; // 2h
|
||||||
|
|
Loading…
Reference in New Issue
Block a user