Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions app/models/setting.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,9 @@ export default ModelBase.extend({
adminBillingCity : attr('string'),
adminBillingZip : attr('string'),
adminBillingAdditionalInfo : attr('string'),
isGoogleRecaptchaEnabled : attr('boolean', { defaultValue: false }),
googleRecaptchaSite : attr('string'),
googleRecaptchaSecret : attr('string'),
/**
* Computed properties
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@
<label>
{{t 'Google reCAPTCHA Site Key'}}
</label>
{{input type='text' name='google_recaptcha_sitekey' value=settings.googleRecaptchaSitekey}}
{{input type='text' name='google_recaptcha_sitekey' value=settings.googleRecaptchaSite}}
</div>
<div class="field">
<label>
{{t 'Google reCAPTCHA Secret Key'}}
</label>
{{input type='text' name='google_recaptcha_secretkey' value=settings.googleRecaptchaSecretkey}}
{{input type='text' name='google_recaptcha_secretkey' value=settings.googleRecaptchaSecret}}
</div>
{{/if}}