Skip to content

Commit ceb6793

Browse files
author
Kristan Kenney
committed
Fix incorrect logging type
1 parent ab91690 commit ceb6793

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

bin/v-change-user-rkey

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ fi
6666

6767
# Logging
6868
$BIN/v-log-action "system" "Warning" "Users" "Password reset requested (User: $user)."
69-
$BIN/v-log-action "$user" "Warn" "System" "Password reset requested."
69+
$BIN/v-log-action "$user" "Warning" "System" "Password reset requested."
7070
log_event "$OK" "$ARGUMENTS"
7171

7272
exit

bin/v-delete-cron-reports

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ $BIN/v-restart-cron
5555
check_result $? "Cron restart failed" >/dev/null
5656

5757
# Logging
58-
$BIN/v-log-action "$user" "Info" "Warn" "Cron job notifications and reporting disabled."
58+
$BIN/v-log-action "$user" "Info" "Warning" "Cron job notifications and reporting disabled."
5959
log_event "$OK" "$ARGUMENTS"
6060

6161
exit

bin/v-delete-mail-domain-ssl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ $BIN/v-restart-mail $restart
6565
check_result $? "Mail restart failed" >/dev/null
6666

6767
# Logging
68-
$BIN/v-log-action "$user" "Warn" "Mail" "SSL disabled (Domain: $domain)."
68+
$BIN/v-log-action "$user" "Warning" "Mail" "SSL disabled (Domain: $domain)."
6969
log_event "$OK" "$ARGUMENTS"
7070

7171
exit

bin/v-delete-user-2fa

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ update_user_value "$user" '$QRCODE' ""
5656
#----------------------------------------------------------#
5757

5858
$BIN/v-log-action "system" "Warning" "System" "Two-factor authentication disabled (User: $user)."
59-
$BIN/v-log-action "$user" "Warn" "System" "Two-factor authentication disabled."
59+
$BIN/v-log-action "$user" "Warning" "System" "Two-factor authentication disabled."
6060
log_event "$OK" "$ARGUMENTS"
6161

6262
exit

bin/v-delete-web-domain-ssl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ $BIN/v-restart-proxy $restart
9393
check_result $? "Proxy restart failed" >/dev/null
9494

9595
# Logging
96-
$BIN/v-log-action "$user" "Warn" "Web" "SSL disabled (Domain: $domain)."
96+
$BIN/v-log-action "$user" "Warning" "Web" "SSL disabled (Domain: $domain)."
9797
log_event "$OK" "$ARGUMENTS"
9898

9999
exit

0 commit comments

Comments
 (0)