[Fix] Don't delete sessionId from user config
This commit is contained in:
parent
a4422ef797
commit
3944bf7bef
|
@ -6,7 +6,7 @@ Strolch = {
|
||||||
appVersion: null,
|
appVersion: null,
|
||||||
|
|
||||||
props: {
|
props: {
|
||||||
strolch_js: '0.4.0',
|
strolch_js: '0.4.1',
|
||||||
version: null,
|
version: null,
|
||||||
revision: null,
|
revision: null,
|
||||||
userConfig: null,
|
userConfig: null,
|
||||||
|
@ -48,8 +48,6 @@ Strolch = {
|
||||||
},
|
},
|
||||||
setUserConfig: function (data) {
|
setUserConfig: function (data) {
|
||||||
if (data == null) throw "Data can not be null!";
|
if (data == null) throw "Data can not be null!";
|
||||||
delete data.sessionId;
|
|
||||||
delete data.authToken;
|
|
||||||
this.props.userConfig = data;
|
this.props.userConfig = data;
|
||||||
},
|
},
|
||||||
clearStorageData: function () {
|
clearStorageData: function () {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "strolchjs",
|
"name": "strolchjs",
|
||||||
"version": "0.4.0",
|
"version": "0.4.1",
|
||||||
"main": "strolch.js",
|
"main": "strolch.js",
|
||||||
"ignore": [
|
"ignore": [
|
||||||
"**/.*",
|
"**/.*",
|
||||||
|
|
Loading…
Reference in New Issue