From 08b8585fccc345d90dcddbf669d229ce44295ba2 Mon Sep 17 00:00:00 2001 From: Nemi Shah Date: Thu, 5 Oct 2023 16:07:38 +0530 Subject: [PATCH] Add email delivery config to third party email password config --- test/auth-react-server/main.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/auth-react-server/main.go b/test/auth-react-server/main.go index 71ee425e..7f79e2e8 100644 --- a/test/auth-react-server/main.go +++ b/test/auth-react-server/main.go @@ -333,6 +333,11 @@ func callSTInit(passwordlessConfig *plessmodels.TypeInput) { }, }), thirdpartyemailpassword.Init(&tpepmodels.TypeInput{ + EmailDelivery: &emaildelivery.TypeInput{ + Service: &emaildelivery.EmailDeliveryInterface{ + SendEmail: &sendPasswordResetEmail, + }, + }, Override: &tpepmodels.OverrideStruct{ APIs: func(originalImplementation tpepmodels.APIInterface) tpepmodels.APIInterface { ogPasswordResetPOST := *originalImplementation.PasswordResetPOST