mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
fixed comment
This commit is contained in:
parent
dd8f9deb67
commit
d0fb12d7ad
@ -43,7 +43,7 @@ export default {
|
|||||||
// update password when prop is changing
|
// update password when prop is changing
|
||||||
this.pass = pass || null
|
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
|
const strength = !isEmpty(this.pass) ? zxcvbn(this.pass).score : null
|
||||||
if (strength !== this.strength) {
|
if (strength !== this.strength) {
|
||||||
this.strength = strength
|
this.strength = strength
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user