In layout.html there is an error...

wrong
              <!-- a class="dropdown-item" href="{{=URL('default','user/
*request_password*')}}">{{=T('Lost Password')}}</a -->

right
              <a class="dropdown-item" href="{{=URL('default','user/
*retrieve_password*')}}">{{=T('Lost Password')}}</a>


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.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 
> user function is written    
>  http://..../[app]/default/user/retrieve_password ?
>
>
> Il giorno venerdì 16 marzo 2018 05:27:32 UTC+1, Massimo Di Pierro ha 
> scritto:
>>
>> 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: 
>>>
>>> <a class="dropdown-item" 
>>> href="{{=URL('default','user/register')}}">{{=T('Sign up')}}</a>
>>>
>>> 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')
>>>
>>> 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 
>>> NOT FOUND" page.
>>>
>>> One time only this line could delete this menu item.
>>>
>>> Do I forgot anything?
>>> Thanks 
>>> --
>>> Resources:
>>> - http://web2py.com
>>> - http://web2py.com/book (Documentation)
>>> - http://github.com/web2py/web2py (Source code)
>>> - https://code.google.com/p/web2py/issues/list (Report Issues)
>>> ---
>>> You received this message because you are subscribed to the Google 
>>> Groups "web2py-users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to web2py+un...@googlegroups.com.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to