P.S. I just remembered the cause of the explorer blinking. It happens when my ancient file explorer tries to display too many icon overlays.
Karl On Jan 4, 3:07 am, kbochert <kboch...@copper.net> wrote: > I'm assuming that by 'trunk' you mean the top mercurial version. > I downloaded it (via TortoiseHg' . Now what? > My file explorer (PowerDesk) blinks every 2 sec when it shows any part > of the repository. I tried the obvious - "python setup_app.py" but it > hung. > Any hints for an amateur? > Karl > > On Jan 3, 12:20 pm, mdipierro <mdipie...@cs.depaul.edu> wrote: > > > I think there is a problem with stable version in case there is a > > redirect, a login failure and a second redirect. > > I think I have fixed it in trunk. Since it required a lot of change it > > needs to be tested. > > > Can you please give it a try and let us know? > > > Massimo > > > On Jan 3, 1:53 am, kbochert <kboch...@copper.net> wrote: > > > > Ok, that works. Now I correctly get to my logon page at > > > > /myapp/admin/user/login?_next=/myapp/admin/home > > > > instead of "default\index". But if that logon fails, I get redirected > > > to > > > > /myapp/admin/user/login > > > > which shows the logon form but fails (goes to "default\index") if I > > > use a valid logon. > > > Somehow the vars have vanished. > > > > The code in gluon/tools.py > > > > if not user: > > > # invalid login > > > session.flash = self.messages.invalid_login > > > redirect(self.url(args=request.args)) > > > > looks suspicious (no vars) , but I am seldom right about these things. > > > > Karl > > > > On Jan 1, 9:25 am, mdipierro <mdipie...@cs.depaul.edu> wrote: > > > > > auth.settings.controller='myctl' > > > > > On Jan 1, 8:01 am, kbochert <kboch...@copper.net> wrote: > > > > > > I'm trying to use my custom login page. > > > > > > In models\db.py I put > > > > > > auth.settings.login_url = "/myapp/myctl/user/login" > > > > > > When I go to a protected page, I get the expected login page 'myapp > > > > > \myctl\user\login' . > > > > > If I enter a user email and a bad password, I get sent to the page > > > > > 'myapp\default\user\login' . > > > > > > How can I return to my login page? > > > > > > Karl -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/web2py?hl=en.