Ok, I think i got it.
In cas/controllers/cas.py
lines 124, 125, 126 are
session.cas_user_id=r[0].id
session.cas_user_name=r[0].name
session.cas_user_email=r[0].email
I think they should be
session.user_id=r[0].id
session.user_name=r[0].name
session.user_email=r[0].email
On 17 joulu, 12:34, Ahto Jussila <[email protected]> wrote:
> This was printed to console.
> <type 'NoneType'>
> ['__class__', '__delattr__', '__doc__', '__getattribute__',
> '__hash__', '__init_
> _', '__new__', '__reduce__', '__reduce_ex__', '__repr__',
> '__setattr__', '__str_
> _']
>
> On 16 joulu, 16:49, Mengu <[email protected]> wrote:
>
> > can you add
> > print type(session.token)
> > print dir(session.token)
>
> > to your login controller before "id,email,name=session.token"
>
> > the error you get simply means the session.token is not a tuple object
> > -since this is tuple unpacking- therefore it cannot be iterated.
>
> > On Dec 16, 12:22 pm, Ahto Jussila <[email protected]> wrote:
>
> > > Hi,
>
> > > I'm trying to use the CAS application locally and get internal error
> > > after clicking the verification link in my email.
>
> > > The steps I used are described herehttp://pastebin.com/m14676f25
>
> > > Logging in works after that so this happens only when after
> > > verification.
--
You received this message because you are subscribed to the Google Groups
"web2py-users" 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/web2py?hl=en.