web/webconfig.py
changeset 4595 bb08a75832e6
parent 4212 ab6573088b4a
child 4719 aaed3f813ef8
--- a/web/webconfig.py	Tue Feb 16 09:27:15 2010 +0100
+++ b/web/webconfig.py	Tue Feb 16 10:33:48 2010 +0100
@@ -176,6 +176,22 @@
           'help': 'print the traceback on the error page when an error occured',
           'group': 'web', 'inputlevel': 2,
           }),
+
+        ('captcha-font-file',
+         {'type' : 'string',
+          'default': join(CubicWebConfiguration.shared_dir(), 'data', 'porkys.ttf'),
+          'help': 'True type font to use for captcha image generation (you \
+must have the python imaging library installed to use captcha)',
+          'group': 'web', 'inputlevel': 2,
+          }),
+        ('captcha-font-size',
+         {'type' : 'int',
+          'default': 25,
+          'help': 'Font size to use for captcha image generation (you must \
+have the python imaging library installed to use captcha)',
+          'group': 'web', 'inputlevel': 2,
+          }),
+
         ))
 
     def fckeditor_installed(self):