<div ng-if="user.passwordStrength" data-cy="check--password-strength" class="password-strength"
  ng-class="'password-'+user.passwordStrength | lowercase"
>
  <label class="password-strength-label small" translate>
    Password strength
  </label>
  <div>
    <div class="password-bar"></div>
  </div>
  <span class="small text-default">
    {{ getStrength(user.passwordStrength) | translate }}
  </span>
</div>
