[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cgit
Subject:    [PATCH] Fix typo in cgitrc.5.txt
From:       Franklin Wei <me () fwei ! tk>
Date:       2019-07-24 22:02:26
Message-ID: 20190724220226.4346-1-me () fwei ! tk
[Download RAW message or body]

1 indicates success; 0 is failure.
---
 cgitrc.5.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cgitrc.5.txt b/cgitrc.5.txt
index 47850a8..239e9b5 100644
--- a/cgitrc.5.txt
+++ b/cgitrc.5.txt
@@ -707,7 +707,7 @@ auth filter::
 	When the filter action is "body", this filter must write to output the
 	HTML for displaying the login form, which POSTs to the login url. When
 	the filter action is "authenticate-cookie", this filter must validate
-	the http cookie and return a 0 if it is invalid or 1 if it is invalid,
+	the http cookie and return a 1 if it is valid, or a 0 if it is not
 	in the exit code / close function. If the filter action is
 	"authenticate-post", this filter receives POST'd parameters on
 	standard input, and should write a complete CGI response, preferably
-- 
2.21.0

_______________________________________________
CGit mailing list
CGit@lists.zx2c4.com
https://lists.zx2c4.com/mailman/listinfo/cgit
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic