Open remram44 opened 1 year ago
This also fixes other issues with the example, such as the username not being decoded from bytes (so no row would ever be found in the database), Argon2 being used incorrectly (it uses a random seed, you can't hash multiple passwords and compare the hashes, use verify()
), and auth_require_tls=False
(otherwise you can't auth at all).
What do these changes do?
Update the documentation and example to mention that
auth_required=True
should be set when settingauthenticator
, otherwise clients can still send messages with no authentication.Are there changes in behavior for the user?
No
Related issue number
374
Checklist
{py36,py37,py38,py39}-{nocov,cov,diffcov}, qa, docs
{py36,py37,py38,py39}-{nocov,cov,diffcov}
{py36,py37,py38,py39}-{nocov,cov,diffcov}, pypy3-{nocov,cov}, qa, docs
{py36,pypy3}-{nocov,cov,diffcov}, qa
py36-{nocov,cov,diffcov}, qa, docs
Documentation reflects the changesNEWS.rst
file