diff --git a/fluxer_app/src/features/auth/components/accounts/account_switcher_modal/AccountSwitcherRegisterStep.tsx b/fluxer_app/src/features/auth/components/accounts/account_switcher_modal/AccountSwitcherRegisterStep.tsx index adc0980ff..5e5217452 100644 --- a/fluxer_app/src/features/auth/components/accounts/account_switcher_modal/AccountSwitcherRegisterStep.tsx +++ b/fluxer_app/src/features/auth/components/accounts/account_switcher_modal/AccountSwitcherRegisterStep.tsx @@ -1,6 +1,7 @@ // SPDX-License-Identifier: AGPL-3.0-or-later import type {RuntimeConfigSnapshot} from '@app/features/app/state/InstanceSnapshotStore'; +import {usesUsernameSignIn} from '@app/features/app/utils/AccountIdentityFeatures'; import type * as AuthenticationCommands from '@app/features/auth/commands/AuthenticationCommands'; import authStyles from '@app/features/auth/components/accounts/account_switcher_modal/AccountSwitcherAuthFlow.module.css'; import pageStyles from '@app/features/auth/flow/AuthPageStyles.module.css'; @@ -35,6 +36,7 @@ export const AccountSwitcherRegisterStep = observer(function AccountSwitcherRegi /> ); } + const usernameSignIn = usesUsernameSignIn(runtimeSnapshot.features); return ( <>

Create account} redirectPath=""