mirror of
https://github.com/element-hq/element-web
synced 2024-11-28 04:21:57 +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:
parent
eecc37038a
commit
ce41228000
2 changed files with 2 additions and 1 deletions
|
@ -254,7 +254,7 @@ export default React.createClass({
|
|||
}
|
||||
const suggestionBlock = suggestions.length > 0 ? <div>
|
||||
{suggestions}
|
||||
</div> : null;
|
||||
</div> : <div>{_t("Keep going...")}</div>;
|
||||
|
||||
helpText = <div>
|
||||
{this.state.zxcvbnResult.feedback.warning}
|
||||
|
|
|
@ -1381,6 +1381,7 @@
|
|||
"File to import": "File to import",
|
||||
"Import": "Import",
|
||||
"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.",
|
||||
"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...",
|
||||
|
|
Loading…
Reference in a new issue