From 1c4889f178a9371173a191abe6d9b38e80ba3022 Mon Sep 17 00:00:00 2001 From: Sebastian Hugentobler Date: Sat, 22 Jan 2022 20:38:56 +0100 Subject: [PATCH] use %u instead of %s --- rootfs/etc/confd/templates/pgsql-login-maps.cf.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rootfs/etc/confd/templates/pgsql-login-maps.cf.tmpl b/rootfs/etc/confd/templates/pgsql-login-maps.cf.tmpl index 10250be..43006c7 100644 --- a/rootfs/etc/confd/templates/pgsql-login-maps.cf.tmpl +++ b/rootfs/etc/confd/templates/pgsql-login-maps.cf.tmpl @@ -2,4 +2,4 @@ hosts = {{ getenv "DB_HOST" }} user = {{ getenv "DB_USER" "email" }} password = {{ getenv "DB_PASSWORD" }} dbname = {{ getenv "DB_NAME" "email" }} -query = SELECT source FROM virtual_aliases WHERE destination='%s%d' +query = SELECT source FROM virtual_aliases WHERE destination='%s'