Verified Commit d29cddd8 authored by godotislate's avatar godotislate
Browse files

task: #3586373 Unused variable in user.js

By: prudloff
By: ishani patel
By: alanampo
parent 2d664b39
Loading
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -273,7 +273,7 @@
    let indicatorClass;
    let weaknesses = 0;
    let strength = 100;
    let msg = [];
    const msg = [];

    const hasLowercase = /[a-z]/.test(password);
    const hasUppercase = /[A-Z]/.test(password);
@@ -355,10 +355,6 @@

    // Assemble the final message while keeping the original message array.
    const messageTips = msg;
    msg = `${passwordSettings.hasWeaknesses}<ul><li>${msg.join(
      '</li><li>',
    )}</li></ul>`;

    return {
      strength,
      indicatorText,