Allow dot in LDAP login username

This commit is contained in:
Ian Unruh 2015-05-20 11:54:15 -07:00
parent c5bce9e6c6
commit 82bca95537

View file

@ -11,7 +11,7 @@ import (
func pathLogin(b *backend) *framework.Path {
return &framework.Path{
Pattern: `login/(?P<username>\w+)`,
Pattern: `login/(?P<username>[\w.]+)`,
Fields: map[string]*framework.FieldSchema{
"username": &framework.FieldSchema{
Type: framework.TypeString,