diff options
author | xue <> | 2007-08-29 03:14:14 +0000 |
---|---|---|
committer | xue <> | 2007-08-29 03:14:14 +0000 |
commit | ffdffb3e1a7711c962ddbb233b84063abc407de6 (patch) | |
tree | 53d00781a306d5eeac2c60e5536c23ba9452e9bb /framework/Web/UI/WebControls/TCaptcha.php | |
parent | 491d3956a4f1bc6ce5501bcc0449007a16514288 (diff) |
fixed a small bug.
Diffstat (limited to 'framework/Web/UI/WebControls/TCaptcha.php')
-rw-r--r-- | framework/Web/UI/WebControls/TCaptcha.php | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/framework/Web/UI/WebControls/TCaptcha.php b/framework/Web/UI/WebControls/TCaptcha.php index 921881d8..9f4cee08 100644 --- a/framework/Web/UI/WebControls/TCaptcha.php +++ b/framework/Web/UI/WebControls/TCaptcha.php @@ -39,7 +39,6 @@ class TCaptcha extends TImage {
const MIN_TOKEN_LENGTH=4;
const MAX_TOKEN_LENGTH=40;
- const MIN_PUBLIC_KEY=6;
public function onInit($param)
{
@@ -121,8 +120,6 @@ class TCaptcha extends TImage */
public function setPublicKey($value)
{
- if(strlen($value)<self::MIN_PUBLIC_KEY)
- throw new TConfigurationException('captcha_publickey_invalid',self::MIN_PUBLIC_KEY);
$this->setViewState('PublicKey',$value,'');
}
|