mirror of
https://github.com/immich-app/immich.git
synced 2025-12-19 09:13:14 +03:00
26 lines
749 B
Svelte
26 lines
749 B
Svelte
<script lang="ts">
|
|
import ConfirmDialogue from '$lib/components/shared-components/confirm-dialogue.svelte';
|
|
|
|
export let onCancel: () => void;
|
|
export let onConfirm: () => void;
|
|
</script>
|
|
|
|
<ConfirmDialogue title="Disable Login" onClose={onCancel} {onConfirm}>
|
|
<svelte:fragment slot="prompt">
|
|
<div class="flex flex-col gap-4">
|
|
<p>Are you sure you want to disable all login methods? Login will be completely disabled.</p>
|
|
<p>
|
|
To re-enable, use a
|
|
<a
|
|
href="https://immich.app/docs/administration/server-commands"
|
|
rel="noreferrer"
|
|
target="_blank"
|
|
class="underline"
|
|
>
|
|
Server Command</a
|
|
>.
|
|
</p>
|
|
</div>
|
|
</svelte:fragment>
|
|
</ConfirmDialogue>
|