mirror of
https://github.com/myvesta/vesta
synced 2025-07-05 12:36:23 -07:00
Importing system enviroment in v-change-user-password
Thanks to @ScIT-Raphael for discovering this bug
This commit is contained in:
parent
cc8a3e0c58
commit
cfc46bb2a9
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue