mirror of
https://github.com/myvesta/vesta
synced 2025-07-16 10:03:23 -07:00
New syntax to hide password from logger
This commit is contained in:
parent
a9cbdfe6ff
commit
6691ea2c8b
15 changed files with 57 additions and 115 deletions
|
@ -13,7 +13,7 @@
|
|||
user=$1
|
||||
domain=$2
|
||||
auth_user=$3
|
||||
password=$4
|
||||
password=$4; HIDE=4
|
||||
restart=${5-yes}
|
||||
|
||||
# Includes
|
||||
|
@ -21,10 +21,6 @@ source $VESTA/func/main.sh
|
|||
source $VESTA/func/domain.sh
|
||||
source $VESTA/conf/vesta.conf
|
||||
|
||||
# Hiding password
|
||||
A4='******'
|
||||
EVENT="$DATE $TIME $SCRIPT $A1 $A2 $A3 $A4 $A5 $A6 $A7 $A8 $A9"
|
||||
|
||||
# Definining htpasswd file
|
||||
htaccess="$HOMEDIR/$user/conf/web/$WEB_SYSTEM.$domain.conf_htaccess"
|
||||
htpasswd="$HOMEDIR/$user/conf/web/$WEB_SYSTEM.$domain.htpasswd"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue