[Twisted-Python] Form based auth - problem with credential checker

Jonah Crawford jonah.crawford at gmail.com
Wed Jul 11 16:48:52 MDT 2018


I've posted code here:

credential checker -->
https://gist.github.com/minskmaz/ab218d7b137b24ede8ffc7e3ea6e2392#file-credentialchecker-py

realm.py -->
https://gist.github.com/minskmaz/ab218d7b137b24ede8ffc7e3ea6e2392#file-realm-py

session wrapper -->
https://gist.github.com/minskmaz/ab218d7b137b24ede8ffc7e3ea6e2392#file-webauthsessionwrapper-py

As I point out on line 14 of realm.py the checker is matching a password
against the db but its requestAvatarId (line 10 of *credentialChecker.py *
<https://gist.github.com/minskmaz/ab218d7b137b24ede8ffc7e3ea6e2392#file-credentialchecker-py>)
is returning None to requestAvatar

Any guidance warmly welcomed.

Jonah
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/twisted-python/attachments/20180711/370fe0db/attachment.html>


More information about the Twisted-Python mailing list