We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c509696 commit 5f8dee3Copy full SHA for 5f8dee3
bin/v-change-user-theme
@@ -21,7 +21,8 @@ theme=$2
21
source $HESTIA/func/main.sh
22
# shellcheck source=/usr/local/hestia/conf/hestia.conf
23
source $HESTIA/conf/hestia.conf
24
-
+# Unset theme variable from $HESTIA/conf/hestia.conf
25
+unset THEME
26
27
#----------------------------------------------------------#
28
# Verifications #
@@ -42,6 +43,8 @@ check_hestia_demo_mode
42
43
# Action #
44
45
46
+
47
48
if [ -z $THEME ]; then
49
add_object_key "user" 'USER' "$user" 'THEME' 'LANGUAGE'
50
fi
0 commit comments