Run 'make fmt'. (#13914)
This commit is contained in:
parent
b2e3745837
commit
6f8def2873
|
@ -3,10 +3,11 @@ package ldap
|
|||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"github.com/hashicorp/vault/api"
|
||||
"io"
|
||||
"os"
|
||||
"strings"
|
||||
|
||||
"github.com/hashicorp/vault/api"
|
||||
)
|
||||
|
||||
type LDAPAuth struct {
|
||||
|
|
|
@ -34,6 +34,7 @@ func testHTTPServer(
|
|||
func init() {
|
||||
os.Setenv("VAULT_TOKEN", "")
|
||||
}
|
||||
|
||||
func TestLogin(t *testing.T) {
|
||||
passwordEnvVar := "LDAP_PASSWORD"
|
||||
allowedPassword := "6hrtL!*bro!ywbQbvDwW"
|
||||
|
|
Loading…
Reference in New Issue