Reputation: 14651
Following the tutorial,
I have built the authentication system using Auth. APIs of Pyramid.
I would like to learn how to introduce two things (tick boxes) to the login though:
How can I achieve this? What do I need to do?
Thank you.
Upvotes: 2
Views: 144
Reputation: 1063
if you are using the cookies based authenticate, then you can also save the user name into the cookies. For password, I am not sure it is a good idea to save it in client side.
I think the better way is to use authenticated_userid to identity the user and return whatever necessary to the request.
Upvotes: 2