DEV Community

Discussion on: What's the dumbest bug you caused yourself

Collapse
 
hewerlin profile image
Hendrik Ewerlin

I developed a company-internal social application with LDAP authentication.
I used a code snipplet.
As it turned out, any username with empty password worked just fine. The code snipplet would simply skip password check for "undefined" empty password.
:-o

Collapse
 
falansari profile image
Ash

I nearly made that same mistake last month x'D luckily while I was testing login, I "accidentally" left the p.w field empty when I was trying out different combos. Lo and behold I got in lol! Fixed fast.