Re: [Repoze-dev] How to handle failed logins?

2010-04-20 Thread Nuno Teixeira
Hi Timmy! Timmy Chan wrote: > my current workflow for FriendlyFormPlugin is > > user goes to page, needs permission, gets 401 > repoze.who sends it to login_form_url > user inputs data > user gets sends to post_login_url, gets 401 > gets sent to login_form_url again > > is this a good method?

Re: [Repoze-dev] How to handle failed logins?

2010-04-17 Thread Timmy Chan
my current workflow for FriendlyFormPlugin is user goes to page, needs permission, gets 401 repoze.who sends it to login_form_url user inputs data user gets sends to post_login_url, gets 401 gets sent to login_form_url again is this a good method? can i pass along the username somewhere? On Sat

[Repoze-dev] How to handle failed logins?

2010-04-17 Thread Timmy Chan
im using FriendlyFormPlugin, and i would like to retrieve the username that was input as part of the request.params, but its no longer there as part of the post_login_url's controller's page. this way i can set the default for username on the signin if the password is incorrect. thanks ___