|
|
@@ -38,7 +38,7 @@ source $USER_DATA/user.conf
|
|
|
|
|
|
# Check if 2FA is enabled
|
|
|
if [ -z "$TWOFA" ]; then
|
|
|
- echo "Error: 2FA is not enabled"
|
|
|
+ echo "Error: two-factor authentication is not enabled"
|
|
|
exit $E_NOTEXIST
|
|
|
fi
|
|
|
|
|
|
@@ -50,7 +50,7 @@ sed -i '/QRCODE=/d' $USER_DATA/user.conf
|
|
|
# Hestia #
|
|
|
#----------------------------------------------------------#
|
|
|
|
|
|
-log_history "2FA Disabled for $user"
|
|
|
+log_history "[WARNING] two-factor authentication disabled for $user"
|
|
|
log_event "$OK" "$ARGUMENTS"
|
|
|
|
|
|
exit
|