LionC / express-basic-auth

Plug & play basic auth middleware for express
325 stars 57 forks source link

Update README.md #44

Closed emilioriosvz closed 2 years ago

LionC commented 2 years ago

The & operator is actually used deliberately here - the && operator shortcuts, which means that credential checking code using it is inherently vulnerable to timing attacks, which is why I never use it in the docs (and also not in the implementation for constant users for that matter)