string handling
This commit is contained in:
parent
600eab77f4
commit
7f07aa2d0a
@ -12,8 +12,8 @@ export const passwordHash = {
|
|||||||
return XORCipher.decode(this.name, token);
|
return XORCipher.decode(this.name, token);
|
||||||
},
|
},
|
||||||
set: function (pw) {
|
set: function (pw) {
|
||||||
|
if (pw == "") return;
|
||||||
activeState.sessionToken = XORCipher.encode(this.name, pw);
|
activeState.sessionToken = XORCipher.encode(this.name, pw);
|
||||||
|
|
||||||
},
|
},
|
||||||
initHash: function () {
|
initHash: function () {
|
||||||
//check if cookie exists
|
//check if cookie exists
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user