mirror of
https://github.com/serghey-rodin/vesta.git
synced 2026-06-17 01:42:47 +02:00
Importing system enviroment in v-change-user-password
Thanks to @ScIT-Raphael for discovering this bug
This commit is contained in:
@@ -13,6 +13,10 @@
|
||||
user=$1
|
||||
password=$2; HIDE=2
|
||||
|
||||
# Importing system enviroment as we run this script
|
||||
# mostly by cron wich not read it by itself
|
||||
source /etc/profile
|
||||
|
||||
# Includes
|
||||
source $VESTA/func/main.sh
|
||||
source $VESTA/conf/vesta.conf
|
||||
|
||||
Reference in New Issue
Block a user