mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-17 05:55:00 +08:00
Relax secret storage account data check
If the homeserver is confused about account data or otherwise explodes here, we don't want to block login, so just warn in this case.
This commit is contained in:
parent
d8ca9d0f13
commit
6f0d88a126
@ -1864,7 +1864,9 @@ export default createReactClass({
|
||||
try {
|
||||
masterKeyInStorage = !!await cli.getAccountDataFromServer("m.cross_signing.master");
|
||||
} catch (e) {
|
||||
if (e.errcode !== "M_NOT_FOUND") throw e;
|
||||
if (e.errcode !== "M_NOT_FOUND") {
|
||||
console.warn("Secret storage account data check failed", e);
|
||||
}
|
||||
}
|
||||
|
||||
if (masterKeyInStorage) {
|
||||
|
Loading…
Reference in New Issue
Block a user