Hi all,

After looking everywhere, have no more choice but to ask.

I defined a custom auth.table with custom fields. Login via 1 of these 
fields and password on custom login form based on form.custom.widget is 
working flawlessly. 
Problem is, now i have to authenticate using 3 fields from this custom 
table.
I used 'auth.settings.login_userfield' to defined wich field used to login. 


def login():
    
    return dict(form=auth.login())


{{if not auth.user:}}

{{=form.custom.begin}} 
Noid:
{{=form.custom.widget.noid}}
</br>
Password:
{{=form.custom.widget.password}}
</br>
{{=form.custom.submit}} 
{{=form.custom.end}} 
{{pass}}


*How can i add fields for login in my form and login with them.?*



Thanks in advance.

-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to