Skip to content

Commit

Permalink
add automatic verification threshold field (#942)
Browse files Browse the repository at this point in the history
* add automatic verification threshold field

* add allowLowScoreReactivation field

* rename to RequiredScore

---------

Co-authored-by: Alexey Kazakov <alkazako@redhat.com>
  • Loading branch information
mfrancisc and alexeykazakov authored Nov 29, 2023
1 parent 229ed1e commit 017e6bd
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions config/crd/bases/toolchain.dev.openshift.com_toolchainconfigs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,12 @@ spec:
description: Captcha defines any configuration related
to captcha verification
properties:
allowLowScoreReactivation:
description: AllowLowScoreReactivation specifies whether
the reactivation for users with low captcha score
(below the RequiredScore) is enabled without the
need for manual approval.
type: boolean
enabled:
description: Enabled specifies whether the captcha
verification feature is enabled or not
Expand All @@ -272,6 +278,13 @@ spec:
description: ProjectID defines the GCP project ID
that has the recaptcha service enabled.
type: string
requiredScore:
description: RequiredScore defines the lowest captcha
score, below this score the user cannot proceed
with the signup process at all. Users with captcha
score lower than the required one can still be approved
manually.
type: string
scoreThreshold:
description: ScoreThreshold defines the captcha assessment
score threshold. A score equal to or above the threshold
Expand Down

0 comments on commit 017e6bd

Please sign in to comment.