Skip to content

Commit 8ba060c

Browse files
committed
Merge branch 'feature/webauthn-login' into W-20224220-passkey-in-auth-modal
2 parents 4786611 + cc2264e commit 8ba060c

File tree

3 files changed

+1
-5
lines changed

3 files changed

+1
-5
lines changed

packages/commerce-sdk-react/src/auth/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1400,7 +1400,6 @@ class Auth {
14001400
if (authHeader) {
14011401
options.headers.Authorization = authHeader
14021402
}
1403-
14041403
const res = await this.client.resetPassword(options)
14051404
return res
14061405
}

packages/template-retail-react-app/app/pages/checkout/partials/contact-info.jsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,7 @@ import {getConfig} from '@salesforce/pwa-kit-runtime/utils/ssr-config'
4646
import {getEnvBasePath} from '@salesforce/pwa-kit-runtime/utils/ssr-namespace-paths'
4747
import {usePasskeyLogin} from '@salesforce/retail-react-app/app/hooks/use-passkey-login'
4848
import {
49-
API_ERROR_MESSAGE,
50-
FEATURE_UNAVAILABLE_ERROR_MESSAGE,
51-
PASSWORDLESS_ERROR_MESSAGES
49+
API_ERROR_MESSAGE
5250
} from '@salesforce/retail-react-app/app/constants'
5351

5452
const ContactInfo = ({isSocialEnabled = false, isPasswordlessEnabled = false, idps = []}) => {

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ module.exports = {
5151
mode: 'email',
5252
landingPath: '/reset-password-landing'
5353
}
54-
}
5554
},
5655
siteAliases: {
5756
'site-1': 'uk',

0 commit comments

Comments
 (0)