Changeset 18071
- Timestamp:
- 10 May 2025, 17:09:00 (7 hours ago)
- Location:
- main/waeup.kofa/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/CHANGES.txt
r18063 r18071 4 4 1.8.2.dev0 (unreleased) 5 5 ======================= 6 7 * Add captcha also to login page. 6 8 7 9 * Allow lecturers to edit scores in state 'courses registered' -
main/waeup.kofa/trunk/src/waeup/kofa/browser/pages.py
r18001 r18071 365 365 'and authentication (login) temporarily disabled.'), 366 366 type='warning') 367 # Handle captcha 368 self.captcha = getUtility(ICaptchaManager).getCaptcha() 369 self.captcha_result = self.captcha.verify(self.request) 370 self.captcha_code = self.captcha.display(self.captcha_result.error_code) 367 371 self.camefrom = camefrom 368 372 # Prefill form with URL params -
main/waeup.kofa/trunk/src/waeup/kofa/browser/templates/loginpage.pt
r16538 r18071 17 17 <input class="btn btn-primary" type="submit" name="SUBMIT" 18 18 tal:attributes="value view/login_button" /> 19 <br /><br /><br /> 19 <br /><br /> 20 <div tal:content="structure view/captcha_code"></div> 21 <br /><br /> 20 22 <p i18n:translate="login_trouble1">Don't forget to logout or exit your browser when you're done. 21 23 If you are having trouble logging in, make sure to enable cookies in your web browser.
Note: See TracChangeset for help on using the changeset viewer.