Put the reset method in the right scope...

This commit is contained in:
Luke Barnard 2017-05-26 17:27:31 +01:00
parent 9311b9012a
commit ac44151e2a

View file

@ -72,11 +72,11 @@ class SessionStore extends Store {
this.reset(); this.reset();
break; break;
} }
}
reset() { reset() {
this._state = Object.assign({}, INITIAL_STATE); this._state = Object.assign({}, INITIAL_STATE);
} }
}
getCachedPassword() { getCachedPassword() {
return this._state.cachedPassword; return this._state.cachedPassword;