mirror of
https://github.com/elyby/accounts-frontend.git
synced 2025-05-31 14:11:58 +05:30
#232: fix remember me logic on frontend
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user