Unit test token login flow in MatrixChat
(#11143)
* test tokenlogin * whitespace * tidy * strict
This commit is contained in:
parent
9704c9fc13
commit
a87362a048
2 changed files with 178 additions and 7 deletions
|
@ -664,7 +664,7 @@ async function persistCredentials(credentials: IMatrixClientCreds): Promise<void
|
|||
if (credentials.accessToken) {
|
||||
localStorage.setItem("mx_has_access_token", "true");
|
||||
} else {
|
||||
localStorage.deleteItem("mx_has_access_token");
|
||||
localStorage.removeItem("mx_has_access_token");
|
||||
}
|
||||
|
||||
if (credentials.pickleKey) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue