fix
This commit is contained in:
parent
b0dfda6c9b
commit
cc413f69a1
@ -36,11 +36,11 @@
|
||||
else
|
||||
webpassword=$(pwgen -s 32 1)
|
||||
webuser=bot
|
||||
webpasswordcrypted=$(htpasswd -nb ${webuser} ${webpassword})
|
||||
webpasswordcrypted=$(htpasswd -nb ${webuser} ${webpassword} | sed -e 's/\\$/\\$\\$/g')
|
||||
|
||||
echo "WEBUSER=${webuser}
|
||||
WEBPASSWD=${webpassword}
|
||||
WEBPASSWDCRYPT=${webpasswordcrypted}
|
||||
WEBPASSWD='${webpassword}'
|
||||
WEBPASSWDCRYPT='${webpasswordcrypted}'
|
||||
" >env
|
||||
|
||||
chmod 440 env
|
||||
|
Loading…
Reference in New Issue
Block a user