You've already forked immich
mirror of
https://github.com/immich-app/immich.git
synced 2025-06-15 03:30:33 +02:00
feat(web,server): disable password login (#1223)
* 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:
@ -4,7 +4,6 @@ import {
|
||||
NotificationType
|
||||
} from '$lib/components/shared-components/notification/notification';
|
||||
import { downloadAssets } from '$lib/stores/download';
|
||||
import { get } from 'svelte/store';
|
||||
|
||||
export const addAssetsToAlbum = async (
|
||||
albumId: string,
|
||||
@ -34,7 +33,7 @@ export async function bulkDownload(
|
||||
const assetIds = assets.map((asset) => asset.id);
|
||||
|
||||
try {
|
||||
let skip = 0;
|
||||
// let skip = 0;
|
||||
let count = 0;
|
||||
let done = false;
|
||||
|
||||
@ -68,7 +67,7 @@ export async function bulkDownload(
|
||||
const isNotComplete = headers['x-immich-archive-complete'] === 'false';
|
||||
const fileCount = Number(headers['x-immich-archive-file-count']) || 0;
|
||||
if (isNotComplete && fileCount > 0) {
|
||||
skip += fileCount;
|
||||
// skip += fileCount;
|
||||
} else {
|
||||
onDone();
|
||||
done = true;
|
||||
|
Reference in New Issue
Block a user