Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(auth): Disallow Falsy credentials
Allowing Falsy auth credentials will cause problems later, for example in `hmac.compare_digest(input_password.encode(), correct_password.encode())` as NoneType has no `encode` method. Moreover, allowing empty passwords would make no sense from a security point of view.
- Loading branch information