anders@rytter.me to Memes@lemmy.ml · 8 months agoBrute force protectionrytter.meimagemessage-square111fedilinkarrow-up11.04Karrow-down133file-text
arrow-up11.01Karrow-down1imageBrute force protectionrytter.meanders@rytter.me to Memes@lemmy.ml · 8 months agomessage-square111fedilinkfile-text
minus-squarereflectedodds@lemmy.worldlinkfedilinkarrow-up17·8 months agoLike the other person said, it’s not meant to always fail the first time you enter any password. It is meant to fail the first time you enter the correct password.
minus-squarewinterayars@sh.itjust.workslinkfedilinkarrow-up2arrow-down1·8 months agoSo it should be: if password == correct and first_success == true then { login failure; first_success = false } Something like that.
Like the other person said, it’s not meant to always fail the first time you enter any password.
It is meant to fail the first time you enter the correct password.
So it should be: if password == correct and first_success == true then { login failure; first_success = false }
Something like that.