Skip to content

Commit

Permalink
fixes #284
Browse files Browse the repository at this point in the history
  • Loading branch information
rishabhpoddar committed May 19, 2023
1 parent ebdfb54 commit ebc16c1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [unreleased]

## [0.12.2] - 2023-05-19

- Adds additional tests for the session recipe
- Fixes https://github.com/supertokens/supertokens-golang/issues/284

## [0.12.1] - 2023-05-12

Expand Down
2 changes: 0 additions & 2 deletions recipe/emailpassword/api/implementation.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,6 @@ func MakeAPIImplementation() epmodels.APIInterface {
return epmodels.GeneratePasswordResetTokenPOSTResponse{}, err
}

passwordResetLink = passwordResetLink + "?token=" + response.OK.Token + "&rid=" + options.RecipeID

supertokens.LogDebugMessage(fmt.Sprintf("Sending password reset email to %s", user.Email))
err = (*options.EmailDelivery.IngredientInterfaceImpl.SendEmail)(emaildelivery.EmailType{
PasswordReset: &emaildelivery.PasswordResetType{
Expand Down
2 changes: 1 addition & 1 deletion supertokens/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const (
)

// VERSION current version of the lib
const VERSION = "0.12.1"
const VERSION = "0.12.2"

var (
cdiSupported = []string{"2.21"}
Expand Down

0 comments on commit ebc16c1

Please sign in to comment.