mirror of https://github.com/vector-im/riot-web
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.pull/21833/head
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