Thanks that worked perfect for me, now I have authentication working :D On Sat, Sep 4, 2010 at 4:59 PM, Eric Rasmussen <ericrasmus...@gmail.com>wrote:
> There's a more thorough tutorial here that worked for me: > > > http://sarafsaurabh.wordpress.com/2010/08/10/pylons-authentication-and-authorization-using-repoze-what/ > > I only changed the login template at the end because it didn't show the > input fields: > > % if c.login_counter > 1: > Incorrect Username or Password > % endif > <form action="${h.url(controller='account', > action='login_handler',came_from=c.came_from, __logins=c.login_counter)}" > method="POST"> > <label for="login">Username:</label> > <input type="text" id="login" name="login" /><br /> > <label for="password">Password:</label> > <input type="password" id="password" name="password" /><br /> > <input type="submit" id="submit" value="Submit" /> > </form> > > > > On Sat, Sep 4, 2010 at 1:15 PM, Bruce Wade <bruce.w...@gmail.com> wrote: > >> I also wouldn't mind a tutorial on this, I moved to pylons from django for >> my next major project. >> >> >> On Sat, Sep 4, 2010 at 11:45 AM, Anders Eide <a...@iserv.no> wrote: >> >>> After multiple failures on this tutorial >>> http://wiki.pylonshq.com/display/pylonscookbook/Authorization+with+repoze.whatI’m >>> wondering: Is there a 100% working tutorial on Pylons 1.0 and >>> repoze.what. >>> >>> >>> >>> I’m new to Pylons and Python, so I would like a tutorial that’s easy to >>> follow… >>> >>> >>> >>> >>> >>> >>> >>> mvh >>> >>> Anders Eide >>> >>> >>> >>> +47 41806663 >>> >>> a...@iserv.no >>> >>> >>> >>> iServ Computing >>> >>> Lasta 50 >>> >>> N-4400 Flekkefjord >>> >>> Norway >>> >>> http://www.iserv.no >>> >>> >>> >>> -- >>> You received this message because you are subscribed to the Google Groups >>> "pylons-discuss" group. >>> To post to this group, send email to pylons-disc...@googlegroups.com. >>> To unsubscribe from this group, send email to >>> pylons-discuss+unsubscr...@googlegroups.com<pylons-discuss%2bunsubscr...@googlegroups.com> >>> . >>> For more options, visit this group at >>> http://groups.google.com/group/pylons-discuss?hl=en. >>> >> >> >> >> -- >> -- >> Regards, >> Bruce Wade >> http://ca.linkedin.com/in/brucelwade >> http://www.wadecybertech.com >> http://www.warplydesigned.com >> http://www.fitnessfriendsfinder.com >> >> -- >> You received this message because you are subscribed to the Google Groups >> "pylons-discuss" group. >> To post to this group, send email to pylons-disc...@googlegroups.com. >> To unsubscribe from this group, send email to >> pylons-discuss+unsubscr...@googlegroups.com<pylons-discuss%2bunsubscr...@googlegroups.com> >> . >> For more options, visit this group at >> http://groups.google.com/group/pylons-discuss?hl=en. >> > > -- > You received this message because you are subscribed to the Google Groups > "pylons-discuss" group. > To post to this group, send email to pylons-disc...@googlegroups.com. > To unsubscribe from this group, send email to > pylons-discuss+unsubscr...@googlegroups.com<pylons-discuss%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/pylons-discuss?hl=en. > -- -- Regards, Bruce Wade http://ca.linkedin.com/in/brucelwade http://www.wadecybertech.com http://www.warplydesigned.com http://www.fitnessfriendsfinder.com -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to pylons-disc...@googlegroups.com. To unsubscribe from this group, send email to pylons-discuss+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en.