{#if secError}
{secError}
{/if}

Server Authentication {settingsState.settings.serverAuthMode === 'BASIC_AUTH' ? 'Basic Auth' : settingsState.settings.serverAuthMode === 'UI_LOGIN' ? 'UI Login' : 'Disabled'}

ModeHow Moku authenticates with the server
{#each [{ value: 'NONE', label: 'None' }, { value: 'BASIC_AUTH', label: 'Basic' }, { value: 'UI_LOGIN', label: 'UI Login' }] as opt} {/each}
{#if authMode !== 'NONE'}
Username
authDirty = true} placeholder="Username" autocomplete="off" spellcheck="false" disabled={secLoading} />
Password
authDirty = true} placeholder="Password" autocomplete="off" spellcheck="false" disabled={secLoading} />
{/if} {#if authMode !== 'NONE' && settingsState.settings.serverAuthMode === authMode && !authPassword}
Re-enter your password to update credentials.
{/if} {#if settingsState.settings.serverAuthMode === 'BASIC_AUTH'}
Images are proxied through Tauri when Basic Auth is active, which reduces loading speed.
{/if}
{#if settingsState.settings.serverAuthMode !== 'NONE'} {/if}

SOCKS Proxy

{#if socksEnabled}
Version
{#if selectOpen === 'socks-ver'}
{#each [[4, 'SOCKS4'], [5, 'SOCKS5']] as [v, l]} {/each}
{/if}
Host
Port
UsernameOptional
PasswordOptional
{/if}

App Lock

{#if lockEnabled} {#if lockError}
{lockError}
{/if}
PIN Minimum 4 digits
{/if}

FlareSolverr

{#if flareEnabled}
URLFlareSolverr instance address
TimeoutMax wait per request, in seconds
{flareTimeout}s
Session nameReuse browser session across requests
Session TTLMinutes before session is refreshed
{flareTtl}m
{/if}