From 44bbbdfa42792b9ad2c7e3892b540b646acd0e42 Mon Sep 17 00:00:00 2001
From: jan shahid shaik <jashaik@progress.com>
Date: Mon, 16 Dec 2024 11:21:00 +0530
Subject: [PATCH] Updated sqerl.config for CS components

Signed-off-by: jan shahid shaik <jashaik@progress.com>
---
 lib/scaffolding/templates/sqerl.config | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/scaffolding/templates/sqerl.config b/lib/scaffolding/templates/sqerl.config
index 8b4c299e17f..8324bcabdbf 100644
--- a/lib/scaffolding/templates/sqerl.config
+++ b/lib/scaffolding/templates/sqerl.config
@@ -1,7 +1,7 @@
 [{sqerl, [
 {{- if is_external_pg }}
-    {{- if eq "password" .Platform.GetPlatform.GetExternalPostgresql.GetAuth.GetScheme.GetValue }}
-           {db_pass, "{{ .Platform.GetPlatform.GetExternalPostgresql.GetAuth.GetPassword.GetDbuser.GetPassword.GetValue }}" },
+     {{- if eq "password" .Platform.GetPlatform.GetExternalPostgresql.GetAuth.GetScheme.GetValue }}
+           {db_pass, "postgres" },
       {{- if .Platform.GetPlatform.GetExternalPostgresql.GetSsl.GetEnable.GetValue }}
            {db_options, [
                       {ssl, true},