feat(web,server): disable password login ()

* feat(web,server): disable password login

* chore: unit tests

* chore: fix import

* chore: linting

* feat(cli): server command for enable/disable password login

* chore: update docs

* feat(web): confirm dialogue

* chore: linting

* chore: linting

* chore: linting

* chore: linting

* chore: linting

* chore: fix web test

* chore: server unit tests
This commit is contained in:
Jason Rasmussen 2023-01-09 16:32:58 -05:00 committed by GitHub
parent 5999af6c78
commit bd838a71d1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
66 changed files with 861 additions and 167 deletions
web/src/lib/components/user-settings-page

View file

@ -7,7 +7,7 @@
import { handleError } from '../../utils/handle-error';
import APIKeyForm from '../forms/api-key-form.svelte';
import APIKeySecret from '../forms/api-key-secret.svelte';
import DeleteConfirmDialogue from '../shared-components/delete-confirm-dialogue.svelte';
import ConfirmDialogue from '../shared-components/confirm-dialogue.svelte';
import {
notificationController,
NotificationType
@ -114,7 +114,7 @@
{/if}
{#if deleteKey}
<DeleteConfirmDialogue
<ConfirmDialogue
prompt="Are you sure you want to delete this API Key?"
on:confirm={() => handleDelete()}
on:cancel={() => (deleteKey = null)}