Skip to content

Commit d2787d5

Browse files
authored
Update generate_password.sql
1 parent 264e2f6 commit d2787d5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

misc/generate_password.sql

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ with init(len, arr) as (
1111
select array_to_string(array_agg(arr[i]), '') as password
1212
from init, indexes
1313
)
14-
select password--, 'md5' || md5(password) as password_md5 || {{username}}
14+
select password--, 'md5' || md5(password || {{username}}) as password_md5
1515
from res
1616
;
17-

0 commit comments

Comments
 (0)