- Timestamp:
- 7 Jun 2025, 02:06:59 (2 days ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/branches/uli-recaptcha/src/waeup/kofa/browser/interfaces.py
r13089 r18083 90 90 class ICaptcha(Interface): 91 91 92 def verify(request ):92 def verify(request, action='submit'): 93 93 """Verify data entered in an HTTP request. 94 94 … … 97 97 not. 98 98 99 `action` is a simple string identifying the kind of operation 100 performed in the form. ``login`` or ``enquiry`` for instance. 101 Only used by recaptcha. 102 99 103 If the solution could not be verified (this might also happen 100 104 because of technical reasons), the response might contain an … … 102 106 """ 103 107 104 def display(error_code=None ):108 def display(error_code=None, action='submit'): 105 109 """Returns a piece of HTML code that displays the captcha. 106 110 … … 111 115 therefore should not contain a ``<form>`` nor any submit 112 116 buttons. 117 118 See `verify` for infos about the `action` parameter. 113 119 """ 114 120
Note: See TracChangeset for help on using the changeset viewer.