check ldap group membership when logging in subsequently
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -262,7 +262,7 @@ func LdapGetGroupMembership(username string, password string) ([]string, error)
|
||||
return groups, nil
|
||||
}
|
||||
|
||||
// No need to check group memberships, just validate that we can bind successfully
|
||||
// VerifyLdapCreds validates that we can bind successfully to LDAP with the supplied credentials
|
||||
func VerifyLdapCreds(username string, password string) error {
|
||||
var err error
|
||||
username = CheckUsername(username)
|
||||
|
Reference in New Issue
Block a user