mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-20 05:14:08 -07:00
permissions on htpasswd file
This commit is contained in:
parent
3e3ecca996
commit
edcd549e4c
3 changed files with 48 additions and 14 deletions
|
@ -54,7 +54,7 @@ sed -i "/^$auth_user:/d" $htpasswd
|
|||
|
||||
# Deleting password protection
|
||||
if [ "$(echo "$AUTH_USER" |tr : '\n' |wc -l)" -le 1 ]; then
|
||||
rm -f $htaccess
|
||||
rm -f $htaccess $htpasswd
|
||||
restart_required='yes'
|
||||
fi
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue