Skip to content

Commit c24c02c

Browse files
authored
Merge pull request #1016 from supertokens/fix/github-issues
2 parents 3f20bc3 + 412c438 commit c24c02c

File tree

5 files changed

+7
-6
lines changed

5 files changed

+7
-6
lines changed

docs/additional-verification/mfa/legacy-mfa/backend-setup/first-factor.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ After following the [backend quick setup section](/docs/quickstart/backend-setup
2525
<BackendTabs>
2626
<BackendTabs.TabItem value="nodejs">
2727

28-
<NodeFrameworksCard showAppTypeSelect>
28+
<NodeFrameworksCard exclude={["awsLambda", "nextjs", "nestjs"]} showAppTypeSelect>
2929
<NodeFrameworksCard.Content value="express">
3030

3131
```tsx

docs/additional-verification/mfa/legacy-mfa/backend-setup/second-factor.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ The `Passwordless.init` function should look something like this:
2525
<BackendTabs>
2626
<BackendTabs.TabItem value="nodejs">
2727

28-
<NodeFrameworksCard showAppTypeSelect>
28+
<NodeFrameworksCard exclude={["awsLambda", "nextjs", "nestjs"]} showAppTypeSelect>
2929
<NodeFrameworksCard.Content value="express">
3030

3131
```tsx

docs/post-authentication/user-management/allow-users-to-update-their-data.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1193,7 +1193,7 @@ def change_password():
11931193
(
11941194
lm
11951195
for lm in users_info.login_methods
1196-
if lm.recipe_user_id.get_as_string() == session.get_recipe_user_id()
1196+
if lm.recipe_user_id.get_as_string() == session.get_recipe_user_id().get_as_string()
11971197
and lm.recipe_id == "emailpassword"
11981198
),
11991199
None,

src/components/Cards/NodeFrameworksCard.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,14 @@ const NodeFrameworksCardContext = createContext<NodeFrameworksCardContextType>({
1414
function NodeFrameworksCardRoot({
1515
children,
1616
showAppTypeSelect = false,
17-
}: React.PropsWithChildren<{ showAppTypeSelect?: boolean }>) {
17+
exclude = [],
18+
}: React.PropsWithChildren<{ showAppTypeSelect?: boolean; exclude?: string[] }>) {
1819
const cardHeaderPortalRightSideContentRef = useRef<HTMLDivElement>(null);
1920
return (
2021
<NodeFrameworksCardContext.Provider value={{ cardHeaderPortalRightSideContentRef }}>
2122
<CodeSampleCard>
2223
<CodeSampleCard.Header>
23-
<NodeFrameworksSelect />
24+
<NodeFrameworksSelect exclude={exclude} />
2425
<Flex gap="1" ref={cardHeaderPortalRightSideContentRef}>
2526
{showAppTypeSelect && <AppTypeSelect />}
2627
</Flex>

src/theme/DocSidebar/Mobile/index.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
&__additional-links {
1515
flex-shrink: 0;
16-
background: var(--ifm-background-color);
16+
background: var(--color-background);
1717
border-top: 1px solid var(--ifm-toc-border-color);
1818
padding: 0.75rem 0;
1919
margin-top: 0;

0 commit comments

Comments
 (0)