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 20e05ad commit bce2b4fCopy full SHA for bce2b4f
bin/v-delete-user-2fa
@@ -38,7 +38,7 @@ source $USER_DATA/user.conf
38
39
# Check if 2FA is enabled
40
if [ -z "$TWOFA" ]; then
41
- echo "Error: 2FA is not enabled"
+ echo "Error: two-factor authentication is not enabled"
42
exit $E_NOTEXIST
43
fi
44
@@ -50,7 +50,7 @@ sed -i '/QRCODE=/d' $USER_DATA/user.conf
50
# Hestia #
51
#----------------------------------------------------------#
52
53
-log_history "2FA Disabled for $user"
+log_history "[WARNING] two-factor authentication disabled for $user"
54
log_event "$OK" "$ARGUMENTS"
55
56
exit
0 commit comments