Notify user when crypto data is missing
If we have account data in local storage but nothing in the crypto store, it generally means the browser has evicted IndexedDB out from under us. This adds a modal to explain the situation and offer to completely clear storage to get things back to normal. Fixes https://github.com/vector-im/riot-web/issues/9109
This commit is contained in:
parent
1ae429f57b
commit
328f0cd6bf
8 changed files with 154 additions and 9 deletions
|
@ -41,7 +41,7 @@ export default React.createClass({
|
|||
Modal.createTrackedDialog('Session Restore Confirm Logout', '', QuestionDialog, {
|
||||
title: _t("Sign out"),
|
||||
description:
|
||||
<div>{ _t("Log out and remove encryption keys?") }</div>,
|
||||
<div>{ _t("Sign out and remove encryption keys?") }</div>,
|
||||
button: _t("Sign out"),
|
||||
danger: true,
|
||||
onFinished: this.props.onFinished,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue