Make isErrUserStatusError public and replace all verbose !IsErrAccountDisabled(err) && !IsErrAccountLocked(err) checks with the shorter IsErrUserStatusError(err) call. |
||
|---|---|---|
| .. | ||
| ldap.go | ||
| ldap_test.go | ||
| main_test.go | ||
Make isErrUserStatusError public and replace all verbose !IsErrAccountDisabled(err) && !IsErrAccountLocked(err) checks with the shorter IsErrUserStatusError(err) call. |
||
|---|---|---|
| .. | ||
| ldap.go | ||
| ldap_test.go | ||
| main_test.go | ||