diff --git a/builtin/credential/ldap/path_login.go b/builtin/credential/ldap/path_login.go index 4dbbfa17c..5b77f5772 100644 --- a/builtin/credential/ldap/path_login.go +++ b/builtin/credential/ldap/path_login.go @@ -11,7 +11,7 @@ import ( func pathLogin(b *backend) *framework.Path { return &framework.Path{ - Pattern: `login/(?P\w+)`, + Pattern: `login/(?P[\w.]+)`, Fields: map[string]*framework.FieldSchema{ "username": &framework.FieldSchema{ Type: framework.TypeString,