Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-23045

Default SimpleCaptcha configuration generates hard-to-read captcha images

    Details

    • Fix Priority:
      3

      Description

      When a user forgets their password, the default config uses SimpleCaptcha. Some of the images generated are difficult/impossible to read. Two examples are attached.

      A simple fix would be to remove the following two renderers from the default captcha.engine.simplecaptcha.gimpy.renderers configuration in portal.properties, rather than expecting each deployment to do it in portal-ext.properties:

      nl.captcha.gimpy.FishEyeGimpyRenderer
      nl.captcha.gimpy.ShearGimpyRenderer

      Perhaps provide two lines in portal.properties: (a) all options commented out and (b) recommended options uncommented as follows:
      #captcha.engine.simplecaptcha.gimpy.renderers=nl.captcha.gimpy.BlockGimpyRenderer,nl.captcha.gimpy.DropShadowGimpyRenderer,nl.captcha.gimpy.FishEyeGimpyRenderer,nl.captcha.gimpy.RippleGimpyRenderer,nl.captcha.gimpy.ShearGimpyRenderer
      captcha.engine.simplecaptcha.gimpy.renderers=nl.captcha.gimpy.BlockGimpyRenderer,nl.captcha.gimpy.DropShadowGimpyRenderer,nl.captcha.gimpy.RippleGimpyRenderer

        Attachments

          Activity

            People

            Assignee:
            michael.saechang Michael Saechang
            Reporter:
            terry Terry Mueller
            Participants of an Issue:
            Recent user:
            Esther Sanz
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              5 years, 14 weeks, 4 days ago

                Packages

                Version Package