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:
parent
d4f8fc89a3
commit
7fdbd57667
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ const create = (options) => {
|
|||
},
|
||||
|
||||
logout() {
|
||||
store.setItem('members-token', null);
|
||||
store.removeItem('members-token');
|
||||
return Promise.resolve(true);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue