#232: fix remember me logic on frontend

This commit is contained in:
SleepWalker
2016-12-05 21:14:38 +02:00
parent 70ae13ae84
commit 9da79a15b4
4 changed files with 188 additions and 25 deletions

View File

@@ -6,7 +6,7 @@ expect.use(require('unexpected-sinon'));
if (!window.localStorage) {
window.localStorage = {
getItem(key) {
return this[key];
return this[key] || null;
},
setItem(key, value) {
this[key] = value;