fixed comment

This commit is contained in:
Ulf Gebhardt 2019-05-10 14:38:34 +02:00
parent dd8f9deb67
commit d0fb12d7ad
No known key found for this signature in database
GPG Key ID: 44C888923CC8E7F3

View File

@ -43,7 +43,7 @@ export default {
// update password when prop is changing
this.pass = pass || null
// passwordStrength is the score calculated by zxcvbn
// strength is the score calculated by zxcvbn
const strength = !isEmpty(this.pass) ? zxcvbn(this.pass).score : null
if (strength !== this.strength) {
this.strength = strength