Commit 6f1a81dd authored by Ivan Tyagov's avatar Ivan Tyagov

Read preferred captcha username / password from preferences.

parent 2a0a3e43
......@@ -15,6 +15,15 @@
</list>
</value>
</item>
<item>
<key> <string>_CaptchaField__extraTalesPropertyList</string> </key>
<value>
<list>
<string>captcha_dot_net_client</string>
<string>captcha_dot_net_secret</string>
</list>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>your_captcha</string> </value>
......@@ -89,6 +98,18 @@
<key> <string>alternate_name</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>captcha_dot_net_client</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>captcha_dot_net_secret</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
</value>
</item>
<item>
<key> <string>captcha_type</string> </key>
<value> <string></string> </value>
......@@ -186,4 +207,30 @@
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<global name="TALESMethod" module="Products.Formulator.TALESField"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python: preferences.getPreference(\'preferred_captcha_username\', \'demo\')</string> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="3" aka="AAAAAAAAAAM=">
<pickle>
<global name="TALESMethod" module="Products.Formulator.TALESField"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python: preferences.getPreference(\'preferred_captcha_password\', \'secret\')</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
1
\ No newline at end of file
2
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment