From b5d3913de3e8c4d64fb0a768d9a6ff299b5088b0 Mon Sep 17 00:00:00 2001 From: devmrko Date: Wed, 22 Jul 2026 13:16:25 +0900 Subject: [PATCH] fix(backoffice): mark seeded tool passwords as bcrypt --- sql/adb/70_sg_tool_user.sql | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/sql/adb/70_sg_tool_user.sql b/sql/adb/70_sg_tool_user.sql index 22b4a4e..3058c9b 100644 --- a/sql/adb/70_sg_tool_user.sql +++ b/sql/adb/70_sg_tool_user.sql @@ -27,11 +27,11 @@ merge into sg_tool_user target using ( select 'sg-teamlead' as user_id, 'SG Demo Team Lead' as user_nm, 'TEAM_LEAD' as role_code, - '$2y$12$esdNRjiRo3ZxBnUGD1xrjuIFjCeCWcxlksDfdZpeImTsVtIdh/IJe' as password_hash + '{bcrypt}$2y$12$esdNRjiRo3ZxBnUGD1xrjuIFjCeCWcxlksDfdZpeImTsVtIdh/IJe' as password_hash from dual union all select 'sg-member', 'SG Demo Team Member', 'TEAM_MEMBER', - '$2y$12$esdNRjiRo3ZxBnUGD1xrjuIFjCeCWcxlksDfdZpeImTsVtIdh/IJe' + '{bcrypt}$2y$12$esdNRjiRo3ZxBnUGD1xrjuIFjCeCWcxlksDfdZpeImTsVtIdh/IJe' from dual ) source on (target.user_id = source.user_id) @@ -45,4 +45,3 @@ when not matched then insert (user_id, user_nm, role_code, password_hash, enable values (source.user_id, source.user_nm, source.role_code, source.password_hash, 'Y'); commit; -