I'm using LDAP authentication where users login giving their username
(uid in LDAP) and password.  How can I get the login page (myapp/
default/user/login) to use the label "Username" rather than "Email"?
I tried changing myapp/views/default/user.html to have the following
but it doesn't work right.  The form displays the way I want but when
I submit the form the login page just displays again.

{{extend 'layout.html'}}
<h2>{{=request.args(0).replace('_',' ').capitalize()}}</h2>
{{=form.custom.begin}}
Username:  {{=form.custom.widget.email}}
Password:  {{=form.custom.widget.password}}
{{=form.custom.submit}}
{{=form.custom.end}}

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to