0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-27 22:49:56 -05:00

Fixed logout for members layer1

no-issue

LocalStorage converts items to strings so "null" was being stored.
This commit is contained in:
Fabien O'Carroll 2018-11-14 12:02:47 +07:00
parent d4f8fc89a3
commit 7fdbd57667

View file

@ -15,7 +15,7 @@ const create = (options) => {
},
logout() {
store.setItem('members-token', null);
store.removeItem('members-token');
return Promise.resolve(true);
}
}