I was attempting the same thing & was floundering until I found your tutorial saurabh - thanks for posting it!
Cheers, BruceC On Sep 6, 3:13 pm, saurabh <[email protected]> wrote: > Thanks Eric for pointing out the login template bug. I replaced the > wrong version with the correct one you posted. Now the tutorial is > 100% working. > > Saurabh > > On Sep 4, 4:59 pm, Eric Rasmussen <[email protected]> wrote: > > > There's a more thorough tutorial here that worked for me: > > >http://sarafsaurabh.wordpress.com/2010/08/10/pylons-authentication-an... > > > 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 <[email protected]> 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 <[email protected]> wrote: > > > >> After multiple failures on this tutorial > > >>http://wiki.pylonshq.com/display/pylonscookbook/Authorization+with+re...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 > > > >> [email protected] > > > >> 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 [email protected]. > > >> To unsubscribe from this group, send email to > > >> [email protected]<pylons-discuss%[email protected]> > > >> . > > >> 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 [email protected]. > > > To unsubscribe from this group, send email to > > > [email protected]<pylons-discuss%[email protected]> > > > . > > > 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en.
