Brute force protection

@memes

  • Infynis@midwest.social
    link
    fedilink
    English
    arrow-up
    1
    ·
    4 months ago

    The guy coding made it so, on your first attempt, even if you answer correctly, it will tell you your login failed due to incorrect username or password, to joke about how it feels like you always get it wrong on the first try

    • soloner@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      4 months ago

      The logic is bugging me, though. It should be if isFirstAttempt || !isPasswordCorrect

      I understand the meme is trying to convey in spite of being correct to still return an error, but then it doesn’t account for when the password is actually incorrect.