Skip to content

Commit

Permalink
Recaptcha Enterprise (#208)
Browse files Browse the repository at this point in the history
* replace with apiKey for enterprise

* projectid

* block threshold is no longer used
  • Loading branch information
TomK authored Sep 4, 2024
1 parent 17ad02c commit e579626
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions connectorconfig/recaptcha.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,8 @@ import (
)

type RecaptchaCredentials struct {
SiteKey string `json:"siteKey" yaml:"siteKey" validate:"required"`
SecretKey string `json:"secretKey" yaml:"secretKey" validate:"required"`
BlockThreshold float32 `json:"blockThreshold" yaml:"blockThreshold" validate:"min=0,max=1"`
SiteKey string `json:"siteKey" yaml:"siteKey" validate:"required"`
ProjectID string `json:"projectId" yaml:"projectId" validate:"required"`
}

func (c *RecaptchaCredentials) GetLibrary() Library {
Expand Down

0 comments on commit e579626

Please sign in to comment.