Changeset 18073


Ignore:
Timestamp:
10 May 2025, 19:33:16 (5 hours ago)
Author:
Henrik Bettermann
Message:

Exit when captcha verification fails.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/browser/pages.py

    r18071 r18073  
    374374        self.password_default = password
    375375        if SUBMIT is not None:
     376            if not self.captcha_result.is_valid:
     377                # Captcha will display error messages automatically.
     378                # No need to flash something.
     379                return
    376380            if self.request.principal.id != 'zope.anybody':
    377381                #self.flash(_('You logged in.'))
Note: See TracChangeset for help on using the changeset viewer.