Skip to content

Commit 02312d8

Browse files
committed
fix: updated changelog
1 parent 202c7ee commit 02312d8

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
4242
- `RefreshPOST` now returns a Session container object.
4343
- `SignOutPOST` now takes in an optional session object as a parameter.
4444
- `SessionContainer` is renamed to `TypeSessionContainer` and `SessionContainer` is now an alias for `*TypeSessionContainer`. All `*SessionContainer` is now replaced with `SessionContainer`.
45+
- Removed unused parameter `email` from `thirdpartyemailpassword.GetUserByThirdPartyInfoWithContext` function.
4546

4647
### Migration
4748

@@ -85,6 +86,7 @@ supertokens.Init(supertokens.TypeInput{
8586

8687
RecipeList: []supertokens.Recipe{
8788
emailverification.Init(evmodels.TypeInput{
89+
Mode: evmodels.ModeRequired, // or evmodels.ModeOptional
8890
// all config should be moved here from the emailVerificationFeature prop of the EmailPassword recipe config
8991
Override: &evmodels.OverrideStruct{
9092
// move the overrides from the emailVerificationFeature prop of the override config in the EmailPassword init here

test/auth-react-server/main.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ func callSTInit(passwordlessConfig *plessmodels.TypeInput) {
130130
},
131131
RecipeList: []supertokens.Recipe{
132132
emailverification.Init(evmodels.TypeInput{
133+
Mode: evmodels.ModeOptional,
133134
CreateAndSendCustomEmail: func(user evmodels.User, emailVerificationURLWithToken string, userContext supertokens.UserContext) {
134135
latestURLWithToken = emailVerificationURLWithToken
135136
},

0 commit comments

Comments
 (0)