Profile - Dockhand

Manage your account settings

{#if loading}
{:else if error}
{error}
{:else if profile}
{#if formSuccess}
{formSuccess}
{/if} Account information
{#if profile.avatar} {/if}

{profile.username}

{#if profile.isAdmin} Admin {:else} User {/if}

{formatDate(profile.createdAt)}

{formatDate(profile.lastLogin)}

Profile details {#if formError} {formError} {/if}
Security {#if profile.provider === 'local'}

Password

Change your password

{:else}

Password

Managed by your SSO provider

SSO
{/if} {#if profile.provider === 'local'}

Two-factor authentication

{#if profile.mfaEnabled} Enabled {:else} Disabled {/if}

{#if profile.mfaEnabled} MFA is enabled for your account {:else} Add an extra layer of security {/if}

{#if $licenseStore.isEnterprise} {#if profile.mfaEnabled} {:else} {/if} {:else} Enterprise {/if}
{:else}

Two-factor authentication

Managed by your SSO provider

SSO
{/if} {#if mfaError && !showMfaSetupModal} {mfaError} {/if}
Appearance Customize the look of the application
{/if}
showPasswordModal = false} onSuccess={showSuccessMessage} /> {#if profile} showMfaSetupModal = false} onSuccess={handleMfaEnabled} /> showDisableMfaModal = false} onSuccess={handleMfaDisabled} /> {/if}