Line 1401 of tools.py needs to be changed (back) from...
if self.settings.login_form:
to...
else:
It didn't affect my test app because it already used CAS.
On Jul 16, 3:44 am, David Marko <[email protected]> wrote:
> The same problem is on all apps I have.
>
> David
>
> On 16 čnc, 10:21, David Marko <[email protected]> wrote:
>
> > I updated web2py but it breaks my app. This is what I got for standard
> > login dialog. (no rpx_account login used, app remained unchanged)
>
> > Traceback (most recent call last):
> > File "c:\java\google_appengine\web2py\gluon\restricted.py", line
> > 178, in restricted
> > exec ccode in environment
> > File "c:/java/google_appengine/web2py/applications/tp/controllers/
> > default.py", line 300, in <module>
> > File "c:\java\google_appengine\web2py\gluon\globals.py", line 96, in
> > <lambda>
> > self._caller = lambda f: f()
> > File "c:/java/google_appengine/web2py/applications/tp/controllers/
> > default.py", line 277, in user
> > return dict(form=auth())
> > File "c:\java\google_appengine\web2py\gluon\tools.py", line 967, in
> > __call__
> > return self.login()
> > File "c:\java\google_appengine\web2py\gluon\tools.py", line 1404, in
> > login
> > cas_user = cas.get_user()
> > AttributeError: 'Auth' object has no attribute 'get_user'