You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-24 06:02:08 +03:00
Token encouragement if zxcvbn gives no feedback
zxcvbn is hardcoded to give no suggedtions if the score is greater than 2, but our threshold is 4, so give some generic feedback. Fixes https://github.com/vector-im/riot-web/issues/7860
This commit is contained in:
@ -254,7 +254,7 @@ export default React.createClass({
|
|||||||
}
|
}
|
||||||
const suggestionBlock = suggestions.length > 0 ? <div>
|
const suggestionBlock = suggestions.length > 0 ? <div>
|
||||||
{suggestions}
|
{suggestions}
|
||||||
</div> : null;
|
</div> : <div>{_t("Keep going...")}</div>;
|
||||||
|
|
||||||
helpText = <div>
|
helpText = <div>
|
||||||
{this.state.zxcvbnResult.feedback.warning}
|
{this.state.zxcvbnResult.feedback.warning}
|
||||||
|
@ -1381,6 +1381,7 @@
|
|||||||
"File to import": "File to import",
|
"File to import": "File to import",
|
||||||
"Import": "Import",
|
"Import": "Import",
|
||||||
"Great! This passphrase looks strong enough.": "Great! This passphrase looks strong enough.",
|
"Great! This passphrase looks strong enough.": "Great! This passphrase looks strong enough.",
|
||||||
|
"Keep going...": "Keep going...",
|
||||||
"Secure your encrypted message history with a Recovery Passphrase.": "Secure your encrypted message history with a Recovery Passphrase.",
|
"Secure your encrypted message history with a Recovery Passphrase.": "Secure your encrypted message history with a Recovery Passphrase.",
|
||||||
"You'll need it if you log out or lose access to this device.": "You'll need it if you log out or lose access to this device.",
|
"You'll need it if you log out or lose access to this device.": "You'll need it if you log out or lose access to this device.",
|
||||||
"Enter a passphrase...": "Enter a passphrase...",
|
"Enter a passphrase...": "Enter a passphrase...",
|
||||||
|
Reference in New Issue
Block a user