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 a2eb03a commit a1716a5Copy full SHA for a1716a5
bin/v-log-user-login
@@ -38,7 +38,7 @@ is_format_valid 'user' 'ip'
38
is_common_format_valid "$session_id" "SESSION_ID"
39
format_no_quotes "$user_agent" "USER_AGENT"
40
is_common_format_valid "$authlog" "AUTHLOG"
41
-is_common_format_valid "$reason" "REASON"
+format_no_quotes "$reason" "REASON"
42
43
44
is_object_valid 'user' 'USER' "$user"
test/checks.bats
@@ -320,6 +320,11 @@ r' "key"
320
assert_failure $E_INVALID
321
}
322
323
+@test "format_no_quotes test2" {
324
+ run format_no_quotes 'test bericht' "key"
325
+ assert_success
326
+}
327
+
328
@test "format_no_quotes .." {
329
run format_no_quotes '..' "key"
330
assert_success
0 commit comments