You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it possible to customise the message. The message 'Getting better. (4/4 required though)' is causing some cognitive confusion with users as they see the 4/4 and can't understand why their password isn't accepted. Our support desk is getting a number of calls
The following patch adds second parameter input (input element instance) to onResult
Also adds a new callback alterResult(result, input) for altering result #29
alterResult: function (result, input) {
if (result.password.length < 6) {
result.score = 0
// result.feedback.suggestions = ['Please enter at least 6 characters.']
result.feedback.suggestions = []
}
if (result.password.length > 32) {
result.score = 0
// result.feedback.suggestions = ['Please enter no more than 32 characters.']
result.feedback.suggestions = []
}
return result
}
Activity
MorrisJobke commentedon Mar 20, 2019
Currently I don't actively develop this. So the current options are what is supported. Sorry
sinasalek commentedon Jun 5, 2019
The following patch adds second parameter input (input element instance) to onResult
Also adds a new callback alterResult(result, input) for altering result
#29