From 3944bf7beff8f9eae7d8f62c402114aa6e94db17 Mon Sep 17 00:00:00 2001 From: Robert von Burg Date: Tue, 12 May 2020 11:02:29 +0200 Subject: [PATCH] [Fix] Don't delete sessionId from user config --- Strolch.js | 4 +--- bower.json | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/Strolch.js b/Strolch.js index 7d4c55f..c963a13 100644 --- a/Strolch.js +++ b/Strolch.js @@ -6,7 +6,7 @@ Strolch = { appVersion: null, props: { - strolch_js: '0.4.0', + strolch_js: '0.4.1', version: null, revision: null, userConfig: null, @@ -48,8 +48,6 @@ Strolch = { }, setUserConfig: function (data) { if (data == null) throw "Data can not be null!"; - delete data.sessionId; - delete data.authToken; this.props.userConfig = data; }, clearStorageData: function () { diff --git a/bower.json b/bower.json index f816a93..cb0bf93 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "strolchjs", - "version": "0.4.0", + "version": "0.4.1", "main": "strolch.js", "ignore": [ "**/.*",