Merge pull request #245 from ianunruh/fix/gh-244
Allow dot in LDAP login username
This commit is contained in:
commit
a3100356b4
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue