mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
fix(scim): ensure scim users aren't created with their own org (#7595)
This commit is contained in:
+1
-1
@@ -69,7 +69,7 @@ type CreateUserRequest struct {
|
||||
Email string `json:"email" validate:"required,email" format:"email"`
|
||||
Username string `json:"username" validate:"required,username"`
|
||||
Password string `json:"password" validate:"required"`
|
||||
OrganizationID uuid.UUID `json:"organization_id" validate:"required" format:"uuid"`
|
||||
OrganizationID uuid.UUID `json:"organization_id" validate:"" format:"uuid"`
|
||||
}
|
||||
|
||||
type UpdateUserProfileRequest struct {
|
||||
|
||||
Reference in New Issue
Block a user