mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-18 05:25:40 +09:00
fix(auth): fix approval signups and auto-join invites (#3467)
This commit is contained in:
1 parent
e403fb6cce
commit
d5ca5d8293
64 files changed
+622
-72
No files matched your search
@@ -5,6 +5,7 @@ import {SetupWelcomeGate} from '@app/features/app/components/setup/SetupWelcomeG
|
||||
import type {SetupBrandingAssetKind} from '@app/features/app/components/setup/SetupWizardClient';
|
||||
import RuntimeConfig from '@app/features/app/state/RuntimeConfig';
|
||||
import {AuthRegisterFormCore} from '@app/features/auth/flow/AuthRegisterFormCore';
|
||||
import {credentialRegisterFields} from '@app/features/auth/flow/RegisterFormFields';
|
||||
import {Button} from '@app/features/ui/button/Button';
|
||||
import {ColorPickerField} from '@app/features/ui/components/form/ColorPickerField';
|
||||
import {Input} from '@app/features/ui/components/form/FormInput';
|
||||
@@ -751,13 +752,7 @@ export const AdminAccountStep = observer(
|
||||
<section className={styles.step} data-flx="app.self-hosted-setup-wizard-gate.admin-account-step">
|
||||
<div className={styles.accountSetupForm} data-flx="app.self-hosted-setup-wizard-gate.admin-form">
|
||||
<AuthRegisterFormCore
|
||||
fields={{
|
||||
showEmail: !usernameSignIn,
|
||||
showPassword: true,
|
||||
showPasswordConfirmation: true,
|
||||
showUsernameValidation: true,
|
||||
requireUsername: usernameSignIn,
|
||||
}}
|
||||
fields={credentialRegisterFields(usernameSignIn)}
|
||||
submitLabel={i18n._(CREATE_ADMIN_ACCOUNT_DESCRIPTOR)}
|
||||
redirectPath=""
|
||||
runtimeSnapshot={RuntimeConfig.getSnapshot()}
|
||||
|
||||
Reference in new issue
Block a user