Skip to content

Commit 63931b6

Browse files
committed
Do not allow to change the password of a non-hestia user.
1 parent bb67ffc commit 63931b6

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ All notable changes to this project will be documented in this file.
66

77
### Bugfixes
88
- Disable Apache2 Server Status Module by default.
9+
- Do not allow to change the password of a non-hestia user. Thanks to Alexandre Zanni!
910

1011
## [1.1.1] - 2020-03-24 - Hotfix
1112
### Features

bin/v-change-user-password

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@
1313
user=$1
1414
password=$2; HIDE=2
1515

16+
# Importing system enviroment as we run this script
17+
# mostly by cron wich not read it by itself
18+
source /etc/profile
19+
1620
# Includes
1721
source $HESTIA/func/main.sh
1822
source $HESTIA/conf/hestia.conf

0 commit comments

Comments
 (0)