I've sent a PR which seems to fix this.

On Tuesday, 7 January 2014 15:57:38 UTC+11, Tim Richardson wrote:
>
>
>
> I noticed that I'm getting these tickets generated by the CAS provider app 
> (welcome, in my case) during the CAS authentication.
>
> Traceback (most recent call last):
>   File "/Users/tim/web2py/gluon/restricted.py", line 217, in restricted
>     exec ccode in environment
>   File "/Users/tim/web2py/applications/welcome/controllers/default.py", line 
> 78, in <module>
>   File "/Users/tim/web2py/gluon/globals.py", line 372, in <lambda>
>     self._caller = lambda f: f()
>   File "/Users/tim/web2py/applications/welcome/controllers/default.py", line 
> 40, in user
>     return dict(form=auth())
>   File "/Users/tim/web2py/gluon/tools.py", line 1310, in __call__
>     return self.cas_validate(version=2, proxy=False)
>   File "/Users/tim/web2py/gluon/tools.py", line 2115, in cas_validate
>     if 'username' in table_user.fields else 'email'
> NameError: global name 'table_user' is not defined
>
>
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to