From 64070417821c21e13c607ccee54ce6c33c77176d Mon Sep 17 00:00:00 2001 From: Ewan Harris Date: Wed, 13 Dec 2023 18:00:25 +0000 Subject: [PATCH] Support organization id when resetting a password --- authentication/database/database.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/authentication/database/database.go b/authentication/database/database.go index 5a0b304f..b0b7a5f2 100644 --- a/authentication/database/database.go +++ b/authentication/database/database.go @@ -84,6 +84,8 @@ type ChangePasswordRequest struct { Email string `json:"email,omitempty"` // The name of the database connection configured on your client. Connection string `json:"connection,omitempty"` + // The organization_id of the Organization associated with the user. + Organization string `json:"organization,omitempty"` // Extra parameters to be merged into the request body. Values set here will override any existing values. ExtraParameters map[string]string `json:"-"` }