mirror of
https://github.com/element-hq/element-web.git
synced 2024-12-12 04:31:41 +03:00
Put the reset method in the right scope...
This commit is contained in:
parent
9311b9012a
commit
ac44151e2a
1 changed files with 3 additions and 3 deletions
|
@ -72,11 +72,11 @@ class SessionStore extends Store {
|
|||
this.reset();
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
reset() {
|
||||
this._state = Object.assign({}, INITIAL_STATE);
|
||||
}
|
||||
}
|
||||
|
||||
getCachedPassword() {
|
||||
return this._state.cachedPassword;
|
||||
|
|
Loading…
Reference in a new issue