Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for writeErrorResponseJSON (3.46 sec)

  1. cmd/admin-handlers-idp-ldap.go

    				if isDN {
    					// warn user that DNs are not allowed
    					writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErrWithErr(ErrAdminLDAPExpectedLoginName, err), r.URL)
    				} else {
    					writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErrWithErr(ErrAdminNoSuchUser, err), r.URL)
    				}
    			}
    			writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    			return
    		}
    		opts.claims[ldapUser] = targetUser // DN
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 13.3K bytes
    - Viewed (0)
Back to top