2009/11/2 Fran <[email protected]>: > > On Oct 28, 12:04 pm, Johann Spies <[email protected]> wrote: >> I am using ldap-authentication and it seems that a successful login >> against the ldap-tree results in automatic access to the system as a >> registered user. > > Yes, all contrib login methods have this facility as the default. > >> I do not want that. How can I redirect login to the registration >> function if a non-existing user tries to login? > > auth.settings.alternate_requires_registration = True > > Check tools.py +801 for the logic... >
Thanks! Regards Johann --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---

