summaryrefslogtreecommitdiffstats
path: root/server/bin/settoken
diff options
context:
space:
mode:
Diffstat (limited to 'server/bin/settoken')
-rwxr-xr-xserver/bin/settoken1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/bin/settoken b/server/bin/settoken
index 3bb191d7..25df902b 100755
--- a/server/bin/settoken
+++ b/server/bin/settoken
@@ -47,6 +47,7 @@ case "${1,,}" in
esac
[ "$USER" != "root" ] && raiseError access "Need to be root"
[ -w $SERVERCFG ] || raiseError access "Server configuration file"
+source_json_config $SERVERCFG
# Update user token.
if [ "$OGUSER" ]; then