I think it is best to set the settings in the model where you
define_tables() but your code should work. Anthony, is right, show us the
full index()
On Wednesday, 6 June 2018 23:40:48 UTC+2, b.l. masters wrote:
>
> I feel like I must be missing some basic step here. So would I put these
> setti
Please show the new version of index().
On Wednesday, June 6, 2018 at 5:40:48 PM UTC-4, b.l. masters wrote:
>
> I feel like I must be missing some basic step here. So would I put these
> settings like this, in default.py?:
>
> def user():
> auth.settings.registration_requires_verification =
I feel like I must be missing some basic step here. So would I put these
settings like this, in default.py?:
def user():
auth.settings.registration_requires_verification = False
auth.settings.registration_requires_approval = False
auth.settings.login_after_registration = True
aut
That is what I have done, is place them in db.py. And that is what is not
working. These are what I already have in my db.py:
auth.settings.remember_me_form=False
auth.settings.registration_requires_verification = False
auth.settings.registration_requires_approval = False
auth.settings.login_afte
On Wednesday, June 6, 2018 at 4:48:48 PM UTC-4, b.l. masters wrote:
>
> So by "auth.register() itself handles the form processing, automatic
> login, and redirect": Do you mean, that these functions are applied in the
> pre-processing (as you also mention), so I can't alter them?? Or can the:
>
On Wednesday, June 6, 2018 at 1:48:48 PM UTC-7, b.l. masters wrote:
>
> So by "auth.register() itself handles the form processing, automatic
> login, and redirect": Do you mean, that these functions are applied in the
> pre-processing (as you also mention), so I can't alter them?? Or can the:
So by "auth.register() itself handles the form processing, automatic login,
and redirect": Do you mean, that these functions are applied in the
pre-processing (as you also mention), so I can't alter them?? Or can the:
auth.settings.login_after_registration,
auth.settings.registration_requires_
>
> def index():
> #T.set_current_languages('zh-cn')
> form=auth.register()
> if form.process().accepted:
> userID= form.vars.id
> # assign user to group and appropriate services
> user_group_assignment(userID)
> # log user in and redirect to accounts ma
In terms of UI, at the [home]/index.html and the .../default/user/register
are both displaying the form correctly. It includes:
- username
- password
- confirm password
- Invite Code
The workflow for both should be:
- load form in view
- user enters info and hits return
- user is automatically lo
The Auth settings should work the same in either case. Please show your
exact code (model, controller, view) and describe the exact workflow (i.e.,
exactly what you do and see in the UI) in both cases.
Also, note that if you just want to change the visibility and/or validators
of particular fie
10 matches
Mail list logo