Skip to content

Commit cba16f5

Browse files
committed
doc: in description, replace field with header for csrf_* settings
The doc for the csrf_* settings referered to "field is missing" when referencing it as headers elsewhere in the doc. Change to use header instead of field to reduce confusion.
1 parent cdc40b8 commit cba16f5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

roundup/configuration.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1348,7 +1348,7 @@ def str2value(self, value):
13481348
the user if the header is missing or invalid.
13491349
Set this to 'yes' to block the post and notify the user
13501350
if the header is invalid, but accept the form if
1351-
the field is missing.
1351+
the header is missing.
13521352
Set this to 'logfailure' to log a notice to the roundup
13531353
log if the header is invalid or missing, but accept
13541354
the post.
@@ -1360,7 +1360,7 @@ def str2value(self, value):
13601360
the user if the header is missing or invalid.
13611361
Set this to 'yes' to block the post and notify the user
13621362
if the header is invalid, but accept the form if
1363-
the field is missing.
1363+
the header is missing.
13641364
Set this to 'logfailure' to log a notice to the roundup
13651365
log if the header is invalid or missing, but accept
13661366
the post.
@@ -1391,7 +1391,7 @@ def str2value(self, value):
13911391
the user if the header is missing or invalid.
13921392
Set this to 'yes' to block the post and notify the user
13931393
if the header is invalid, but accept the form if
1394-
the field is missing.
1394+
the header is missing.
13951395
Set this to 'logfailure' to log a notice to the roundup
13961396
log if the header is invalid or missing, but accept
13971397
the post.
@@ -1404,7 +1404,7 @@ def str2value(self, value):
14041404
the user if the header is missing or invalid.
14051405
Set this to 'yes' to block the post and notify the user
14061406
if the header is invalid, but accept the form if
1407-
the field is missing.
1407+
the header is missing.
14081408
Set this to 'logfailure' to log a notice to the roundup
14091409
log if the header is invalid or missing, but accept
14101410
the post.

0 commit comments

Comments
 (0)