Skip to content

Commit bce2b4f

Browse files
author
Kristan Kenney
committed
Add emphasis to log event for 2fa disable
1 parent 20e05ad commit bce2b4f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bin/v-delete-user-2fa

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ source $USER_DATA/user.conf
3838

3939
# Check if 2FA is enabled
4040
if [ -z "$TWOFA" ]; then
41-
echo "Error: 2FA is not enabled"
41+
echo "Error: two-factor authentication is not enabled"
4242
exit $E_NOTEXIST
4343
fi
4444

@@ -50,7 +50,7 @@ sed -i '/QRCODE=/d' $USER_DATA/user.conf
5050
# Hestia #
5151
#----------------------------------------------------------#
5252

53-
log_history "2FA Disabled for $user"
53+
log_history "[WARNING] two-factor authentication disabled for $user"
5454
log_event "$OK" "$ARGUMENTS"
5555

5656
exit

0 commit comments

Comments
 (0)