Mercurial > hgrepos > hgweb.cgi > s4
changeset 560:1d0344a5f5aa
Supply static salt for flag
author | HIROSE Yuuji <yuuji@gentei.org> |
---|---|
date | Sun, 14 Apr 2019 09:01:45 +0900 |
parents | 2f580c147434 |
children | 593e5ae3bd49 |
files | scripts/add-user-csv.sh |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/add-user-csv.sh Sat Apr 13 19:36:47 2019 +0900 +++ b/scripts/add-user-csv.sh Sun Apr 14 09:01:45 2019 +0900 @@ -28,7 +28,7 @@ EOF while IFS=, read user email gecos inipswd do - encpswd=`echo $inipswd|mypwhash` + encpswd=`mycrypt "$inipswd" 'StOpmE'` case "$user" in *\'*) echo "Skipping [$user]" continue ;;