Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to enable CAPTCHA validation for login #21638

Merged
merged 28 commits into from Nov 22, 2022
Merged

Add option to enable CAPTCHA validation for login #21638

merged 28 commits into from Nov 22, 2022

Commits on Oct 31, 2022

  1. Allow to enable CAPTCHA validation for login

    Enable this to require captcha validation for user login. You also must enable `ENABLE_CAPTCHA`.
    
    Summary:
    - refactor template to use captcha.tmpl
    - add CAPTCHA response string to SignInForm
    - add CAPTCHA handle and context
    - add `REQUIRE_CAPTCHA_FOR_LOGIN` config and docs
    
    Signed-off-by: Xinyu Zhou <[email protected]>
    Xinyu Zhou committed Oct 31, 2022
    Configuration menu
    Copy the full SHA
    ad92a8e View commit details
    Browse the repository at this point in the history
  2. fix some stupid things

    Signed-off-by: Xinyu Zhou <[email protected]>
    Xinyu Zhou committed Oct 31, 2022
    Configuration menu
    Copy the full SHA
    f3cef9c View commit details
    Browse the repository at this point in the history
  3. as per KN4CK3R

    Signed-off-by: Andrew Thornton <[email protected]>
    zeripath committed Oct 31, 2022
    Configuration menu
    Copy the full SHA
    11dc7ef View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c6da162 View commit details
    Browse the repository at this point in the history
  5. Consolidate CAPTCHA set-up and verification code

    There is too much copy&paste of this code. Move this to some common functions.
    
    Signed-off-by: Andrew Thornton <[email protected]>
    zeripath committed Oct 31, 2022
    Configuration menu
    Copy the full SHA
    3d70bc9 View commit details
    Browse the repository at this point in the history

Commits on Nov 1, 2022

  1. fix type

    Xinyu Zhou authored Nov 1, 2022
    Configuration menu
    Copy the full SHA
    6ad5f14 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1 from zeripath/patch-21638-captcha-for-login

    Consolidate CAPTCHA set-up and verification code
    Xinyu Zhou authored Nov 1, 2022
    Configuration menu
    Copy the full SHA
    9c2351f View commit details
    Browse the repository at this point in the history

Commits on Nov 8, 2022

  1. Merge branch 'main' into REQUIRE_CAPTCHA_FOR_LOGIN

    Signed-off-by: Xinyu Zhou <[email protected]>
    Xinyu Zhou committed Nov 8, 2022
    Configuration menu
    Copy the full SHA
    d02b04f View commit details
    Browse the repository at this point in the history

Commits on Nov 10, 2022

  1. Configuration menu
    Copy the full SHA
    b839e86 View commit details
    Browse the repository at this point in the history
  2. CAPTCHA response field should be private variables

    Signed-off-by: Xinyu Zhou <[email protected]>
    Xinyu Zhou committed Nov 10, 2022
    Configuration menu
    Copy the full SHA
    86a2bd3 View commit details
    Browse the repository at this point in the history

Commits on Nov 11, 2022

  1. Merge branch 'main' into REQUIRE_CAPTCHA_FOR_LOGIN

    Signed-off-by: Xinyu Zhou <[email protected]>
    Xinyu Zhou committed Nov 11, 2022
    Configuration menu
    Copy the full SHA
    674847d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    12f07ec View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    66c458f View commit details
    Browse the repository at this point in the history

Commits on Nov 12, 2022

  1. Update modules/context/captcha.go

    Co-authored-by: delvh <[email protected]>
    Xinyu Zhou and delvh authored Nov 12, 2022
    Configuration menu
    Copy the full SHA
    7569531 View commit details
    Browse the repository at this point in the history
  2. Update modules/context/captcha.go

    Co-authored-by: delvh <[email protected]>
    Xinyu Zhou and delvh authored Nov 12, 2022
    Configuration menu
    Copy the full SHA
    34125ae View commit details
    Browse the repository at this point in the history
  3. Add comment to CAPTCHA filed <label></label>

    Signed-off-by: Xinyu Zhou <[email protected]>
    Xinyu Zhou committed Nov 12, 2022
    Configuration menu
    Copy the full SHA
    1774038 View commit details
    Browse the repository at this point in the history
  4. Merge branch 'main' into REQUIRE_CAPTCHA_FOR_LOGIN

    Signed-off-by: Xinyu Zhou <[email protected]>
    Xinyu Zhou committed Nov 12, 2022
    Configuration menu
    Copy the full SHA
    7c676d0 View commit details
    Browse the repository at this point in the history

Commits on Nov 15, 2022

  1. Configuration menu
    Copy the full SHA
    cc7d1c4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b7700ba View commit details
    Browse the repository at this point in the history

Commits on Nov 19, 2022

  1. Configuration menu
    Copy the full SHA
    ced03dd View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ebe6456 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7e19272 View commit details
    Browse the repository at this point in the history

Commits on Nov 21, 2022

  1. Configuration menu
    Copy the full SHA
    9a09578 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9d93336 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c0b1133 View commit details
    Browse the repository at this point in the history

Commits on Nov 22, 2022

  1. Configuration menu
    Copy the full SHA
    7033873 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c9d235d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1eb6e2e View commit details
    Browse the repository at this point in the history