diff options
| author | Brynn Crowley <littlehill723@gmail.com> | 2025-03-08 15:04:15 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-03-08 15:04:15 +0000 |
| commit | 1c907929c614779adb963c97776810cdba8ce5f6 (patch) | |
| tree | 746e3f015490252cc8b96af0fe4b1ba894a987bb /internal/authentication/ldap_util.go | |
| parent | 9241731a4dd5592b4a02b5352c903b4d06b6f4ab (diff) | |
refactor(handlers): add more detailed errors for password-change failures (#8899)
Adds some more helpful log information to the change password feature.
Signed-off-by: Brynn Crowley <littlehill723@gmail.com>
Signed-off-by: James Elliott <james-d-elliott@users.noreply.github.com>
Co-authored-by: James Elliott <james-d-elliott@users.noreply.github.com>
Diffstat (limited to 'internal/authentication/ldap_util.go')
| -rw-r--r-- | internal/authentication/ldap_util.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/authentication/ldap_util.go b/internal/authentication/ldap_util.go index 5793a661b..a50c69e2a 100644 --- a/internal/authentication/ldap_util.go +++ b/internal/authentication/ldap_util.go @@ -111,7 +111,7 @@ func ldapGetReferral(err error) (referral string, ok bool) { } } -func ldapGetErrorCode(err error) int { +func getLDAPResultCode(err error) int { var e *ldap.Error if errors.As(err, &e) { |
