Re: [web2py] Re: Auth extra fields

2016-01-07 Thread greenpoise
Thanks! On Wednesday, January 6, 2016 at 9:53:51 AM UTC-8, Anthony wrote: > > On Wednesday, January 6, 2016 at 12:42:56 PM UTC-5, Mathieu Clabaut wrote: >> >> Be careful that when you update extra fields, it is your responsibility >> to update auth.user and session.auth.user accordingly... >> > >

Re: [web2py] Re: Auth extra fields

2016-01-06 Thread Anthony
On Wednesday, January 6, 2016 at 12:42:56 PM UTC-5, Mathieu Clabaut wrote: > > Be careful that when you update extra fields, it is your responsibility to > update auth.user and session.auth.user accordingly... > Note just "extra" fields, but any fields in db.auth_user. Anthony -- Resources: -

Re: [web2py] Re: Auth extra fields

2016-01-06 Thread Mathieu Clabaut
Be careful that when you update extra fields, it is your responsibility to update auth.user and session.auth.user accordingly... Le mer. 6 janv. 2016 03:42, Anthony a écrit : > I assume you want auth.user.store. > > > Anthony > > > On Tuesday, January 5, 2016 at 5:24:19 PM UTC-5, greenpoise wrot

[web2py] Re: Auth extra fields

2016-01-05 Thread Anthony
I assume you want auth.user.store. Anthony On Tuesday, January 5, 2016 at 5:24:19 PM UTC-5, greenpoise wrote: > > if auth.is_logged_in(): > this_store=auth_user.store > else: > this_store=None > > > Is there a way to extract the extra fields value in the controller like > the code above? > > Tha

[web2py] Re: Auth extra fields

2016-01-05 Thread greenpoise
auth_user is not defined. On Tuesday, January 5, 2016 at 2:26:59 PM UTC-8, Niphlod wrote: > > why not ? > > On Tuesday, January 5, 2016 at 11:24:19 PM UTC+1, greenpoise wrote: >> >> if auth.is_logged_in(): >> this_store=auth_user.store >> else: >> this_store=None >> >> >> Is there a way to extract

[web2py] Re: Auth extra fields

2016-01-05 Thread Niphlod
why not ? On Tuesday, January 5, 2016 at 11:24:19 PM UTC+1, greenpoise wrote: > > if auth.is_logged_in(): > this_store=auth_user.store > else: > this_store=None > > > Is there a way to extract the extra fields value in the controller like > the code above? > > Thanks > -- Resources: - http://we