Re: [web2py] auth.settings.actions_disabled.append('register')

2018-03-26 Thread Alby Cartner
I am working on an app where it is not open for self registration. I was getting the same error when I tried customising the Welcome app that was cloned. I then retrieved the custom_Auth app from the examples, and uploaded that as my base and it works correctly just with ## configure auth po

Re: [web2py] auth.settings.actions_disabled.append('register')

2018-03-16 Thread Andrea Fae'
In layout.html there is an error... wrong right {{=T('Lost Password')}} Il giorno venerdì 16 marzo 2018 20:07:27 UTC+1, Andrea Fae' ha scritto: > > Do you mean that, like in the other versions, it shoud be enogh only to > write auth.settings.actions_disabled.appen

Re: [web2py] auth.settings.actions_disabled.append('register')

2018-03-16 Thread Andrea Fae'
Do you mean that, like in the other versions, it shoud be enogh only to write auth.settings.actions_disabled.append('register') and nothing more? I see "password smarrita" in the menu and clicking it I see the same error 404 NOT FOUND and it points to "request_password" controller. Why if in the

Re: [web2py] auth.settings.actions_disabled.append('register')

2018-03-15 Thread Massimo Di Pierro
That used to be done automatically when registration was disabled. It made the layout unnecessarily complex. Any action could be disabled and that;s a lot of if statements. On Saturday, 10 March 2018 21:34:49 UTC-6, alex wrote: > > What about removing this: > > href="{{=URL('default','user/reg

Re: [web2py] auth.settings.actions_disabled.append('register')

2018-03-10 Thread Al Ex
What about removing this: {{=T('Sign up')}} from layout.html? On March 11, 2018 at 4:42:52, Andrea Fae' (and...@gmail.com) wrote: Sometimes problems arises. I need to eliminate "sign up" menu item from LOGIN but nevertheless I inserted this line auth.settings.actions_disabled.append('register

[web2py] auth.settings.actions_disabled.append('register')

2018-03-10 Thread Andrea Fae'
Sometimes problems arises. I need to eliminate "sign up" menu item from LOGIN but nevertheless I inserted this line auth.settings.actions_disabled.append('register') or this auth.settings.actions_disabled = ['register'] in the db.py I can see the item in the menu, and when I click I see "404

[web2py] auth.settings.actions_disabled.append('register')

2010-04-08 Thread carlo
Following the manual I put this statement in my model file but it seems I can still access the register page and register a new user: did I miss something? carlo -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email