Merge pull request #245 from ianunruh/fix/gh-244

Allow dot in LDAP login username
This commit is contained in:
Armon Dadgar 2015-05-20 14:43:18 -07:00
commit a3100356b4
1 changed files with 1 additions and 1 deletions

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,