Merge pull request #11374 from koding/landing/card-recaptcha · koding/koding@b496e05 · GitHub
Skip to content
This repository was archived by the owner on Aug 15, 2022. It is now read-only.

Commit b496e05

Browse files
authored
Merge pull request #11374 from koding/landing/card-recaptcha
Add invisible recaptcha on team billing page
2 parents 67c09ed + 7c11d5d commit b496e05

4 files changed

Lines changed: 26 additions & 3 deletions

File tree

‎client/landing/site.landing/coffee/team/forms/stripepaymenttabform.coffee‎

Lines changed: 22 additions & 2 deletions

‎config/credentials.default.coffee‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,8 @@ module.exports = (options) ->
158158
recaptcha =
159159
secret: ''
160160
public: ''
161+
invisible_secret: ''
162+
invisible_public: ''
161163
segment = ''
162164
kontrol =
163165
publicKey: '$KONFIG_PROJECTROOT/generated/private_keys/kontrol/kontrol.pub'

‎config/generateKonfig.coffee‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ module.exports = (options, credentials) ->
6868
recaptcha =
6969
enabled: options.recaptchaEnabled
7070
secret: credentials.recaptcha.secret
71+
invisible_secret: credentials.recaptcha.invisible_secret
7172
url: 'https://www.google.com/recaptcha/api/siteverify'
7273

7374
kontrol =

‎config/generateRuntimeConfig.coffee‎

Lines changed: 1 addition & 1 deletion

0 commit comments

Comments
 (0)