diff options
author | Preetham <me@preetham.in> | 2014-11-12 14:36:35 +0100 |
---|---|---|
committer | Preetham <me@preetham.in> | 2014-11-12 14:36:35 +0100 |
commit | 83aeef1d8602b04716b86790a023bb0211fa25ce (patch) | |
tree | 7129b39bb32bf94238c33638a82c57d61c1c44ad /user_guide_src/source/helpers | |
parent | 692e7967d48c67f28f52da6051e4715a6d891b5a (diff) |
Closing #656 and updating documentation
Signed-off-by: Preetham <me@preetham.in>
Diffstat (limited to 'user_guide_src/source/helpers')
-rw-r--r-- | user_guide_src/source/helpers/captcha_helper.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/user_guide_src/source/helpers/captcha_helper.rst b/user_guide_src/source/helpers/captcha_helper.rst index 1b74d08ad..556434a50 100644 --- a/user_guide_src/source/helpers/captcha_helper.rst +++ b/user_guide_src/source/helpers/captcha_helper.rst @@ -33,6 +33,7 @@ Once loaded you can generate a CAPTCHA like this:: 'img_height' => 30, 'expiration' => 7200, 'word_length' => 8, + 'font_size' =>16, 'pool' => '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ', // White background and border, black text and red grid @@ -59,8 +60,10 @@ Once loaded you can generate a CAPTCHA like this:: in the captcha folder before it will be deleted. The default is two hours. - **word_length** defaults to 8, **pool** defaults to '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ' +- **font_size** defaults to 16, the native GD font has a size limit. Specify a TRUE TYPE font for bigger sizes. - If any of the **colors** values is missing, it will be replaced by the default. + Adding a Database ----------------- |