fix(backoffice): mark seeded tool passwords as bcrypt

This commit is contained in:
devmrko
2026-07-22 13:16:25 +09:00
parent 79ed5a158e
commit b5d3913de3

View File

@@ -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;