Use the same password validation messages everywhere. Place the common code into password-mixin.js