Isn't that the default behavior? I mean, after registration a user is
automatically logged in.

Anyway, what I did was when a currently logged-in and unverified user's
account is verified or updated by the admin, his status will be updated
when he checks his profile (or logs out and logs in again.)

On Thursday, December 15, 2011, Cliff wrote:

> After the user registers, you should probably redirect him to a login
> page that politely says something like:
>
> Thank you for registering.  Log in now to get access to the all the
> features of our fantastic site.
>
>
>
> On Dec 14, 11:37 pm, Anthony <abasta...@gmail.com <javascript:;>> wrote:
> > On Wednesday, December 14, 2011 11:24:20 PM UTC-5, ニコノコ wrote:
> >
> > > hmm ... I tried auth.user.account_status=db.auth_user[auth.user.id
> > > ].account_status
> >
> > > , but I get an error:
> > > AttributeError: 'NoneType' object has no attribute 'account_status'
> >
> > It will only work when there is actually a logged in user, so start with:
> >
> > if auth.user:
> >     etc.
>

Reply via email to