Skip to content

Commit

Permalink
Update with-supertokens example (#41802)
Browse files Browse the repository at this point in the history
- Update dependency version
- Update config for email verification recipe to match new version

Co-authored-by: NkxxkN <kevin@supertokens.io>
Co-authored-by: NkxxkN <kevin.antoine@protonmail.com>
Co-authored-by: Lee Robinson <me@leerob.io>
Co-authored-by: Rishabh <rishabh@supertokens.io>
Co-authored-by: Bhumil Sarvaiya <sarvaiyabhumil@gmail.com>
Co-authored-by: jscyo <joelsteve97@hotmail.com>
Co-authored-by: Mihaly Lengyel <mihaly.lengyel@tresorit.com>
Co-authored-by: Balázs Orbán <info@balazsorban.com>
Co-authored-by: Mihaly Lengyel <mihaly@lengyel.tech>
  • Loading branch information
10 people committed Oct 26, 2022
1 parent bad43cf commit bba571a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion examples/with-supertokens/config/frontendConfig.ts
Expand Up @@ -8,7 +8,9 @@ export let frontendConfig = () => {
return {
appInfo,
recipeList: [
EmailVerificationReact.init(),
EmailVerificationReact.init({
mode: 'REQUIRED',
}),
ThirdPartyEmailPasswordReact.init({
signInAndUpFeature: {
providers: [
Expand Down
2 changes: 1 addition & 1 deletion examples/with-supertokens/package.json
Expand Up @@ -9,7 +9,7 @@
"next": "latest",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"supertokens-auth-react": "^0.26.0",
"supertokens-auth-react": "^0.27.0",
"supertokens-node": "^12.0.0"
},
"devDependencies": {
Expand Down

0 comments on commit bba571a

Please sign in to comment.