[Fix] Don't delete sessionId from user config

This commit is contained in:
Robert von Burg 2020-05-12 11:02:29 +02:00
parent a4422ef797
commit 3944bf7bef
2 changed files with 2 additions and 4 deletions

View File

@ -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 () {

View File

@ -1,6 +1,6 @@
{
"name": "strolchjs",
"version": "0.4.0",
"version": "0.4.1",
"main": "strolch.js",
"ignore": [
"**/.*",