How to check the password?

0 views
Skip to first unread message

张沈鹏

unread,
Sep 20, 2008, 3:59:35 AM9/20/08
to AuthKit
I have read this

http://pylonsbook.com/alpha1/authentication_and_authorization

But the page only write

def signin(self):
if len(request.params) > 1 and \
request.params['password'] == request.params['username']:
session['user'] = request.params['username']
session.save()

I also find

http://authkit.org/docs/0.4/module-authkit.users.html

authkit.authenticate.valid_password()

and read the exmples source

But I still don't konw how to use it .

Would you please give me a example how to check the password? With
sqlalchemy5 is better .

Thanks

张沈鹏

unread,
Sep 22, 2008, 9:14:17 AM9/22/08
to AuthKit
Oh, I understand .
Reply all
Reply to author
Forward
0 new messages