Skip to content

Commit 15e1be0

Browse files
authored
Update passwordless and resetPassword configurations to use 'email' mode instead of callback URIs in default.js (#3557)
1 parent 5ead3dc commit 15e1be0

File tree

1 file changed

+2
-3
lines changed
  • packages/template-retail-react-app/config

1 file changed

+2
-3
lines changed

packages/template-retail-react-app/config/default.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,7 @@ module.exports = {
3232
login: {
3333
passwordless: {
3434
enabled: true,
35-
callbackURI:
36-
process.env.PASSWORDLESS_LOGIN_CALLBACK_URI || '/passwordless-login-callback',
35+
mode: 'email',
3736
landingPath: '/passwordless-login-landing'
3837
},
3938
social: {
@@ -42,7 +41,7 @@ module.exports = {
4241
redirectURI: process.env.SOCIAL_LOGIN_REDIRECT_URI || '/social-callback'
4342
},
4443
resetPassword: {
45-
callbackURI: process.env.RESET_PASSWORD_CALLBACK_URI || '/reset-password-callback',
44+
mode: 'email',
4645
landingPath: '/reset-password-landing'
4746
}
4847
},

0 commit comments

Comments
 (0)