fix: remote haproxy password/etc

This commit is contained in:
Andras Bacsai
2022-11-23 13:25:35 +01:00
parent 1e47b79b50
commit 4b26aeef9a
5 changed files with 46 additions and 28 deletions

View File

@@ -714,9 +714,7 @@ export async function stopTraefikProxy(
}
export async function listSettings(): Promise<any> {
const settings = await prisma.setting.findFirst({});
if (settings.proxyPassword) settings.proxyPassword = decrypt(settings.proxyPassword);
return settings;
return await prisma.setting.findFirst({});
}
export function generateToken() {