You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-10 09:22:25 +03:00
Prompt for recovery key on login rather than passphrase
Only show passphrase options at all if the user has a passphrase on their SSSS key.
This commit is contained in:
@@ -113,7 +113,7 @@ export default class CrossSigningPanel extends React.PureComponent {
|
||||
_bootstrapSecureSecretStorage = async (forceReset=false) => {
|
||||
this.setState({ error: null });
|
||||
try {
|
||||
await accessSecretStorage(() => undefined, forceReset);
|
||||
await accessSecretStorage(() => undefined, {forceReset});
|
||||
} catch (e) {
|
||||
this.setState({ error: e });
|
||||
console.error("Error bootstrapping secret storage", e);
|
||||
|
||||
Reference in New Issue
Block a user