Your Login Method Is One if-Block Away From Disaster

There’s a pattern that fixes it — and one of the most-used auth libraries on the planet named itself after it.