Skip to content

Commit

Permalink
Add email delivery config to third party email password config
Browse files Browse the repository at this point in the history
  • Loading branch information
nkshah2 committed Oct 5, 2023
1 parent 8745e98 commit 08b8585
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/auth-react-server/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 08b8585

Please sign in to comment.