Skip to content

Commit

Permalink
Hot-fix: re-add missing recaptcha script to HTML template in the SEP2…
Browse files Browse the repository at this point in the history
…4 registration flow

### What

Hot-fix: re-add missing recaptcha script to HTML template in the SEP24 registration flow.

### Why

It was removed in #152.
  • Loading branch information
marcelosalloum authored Feb 6, 2024
2 parents b2b7a88 + 1038d1a commit aea8191
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).

None

## [1.1.2](https://github.com/stellar/stellar-disbursement-platform-backend/compare/1.1.1...1.1.2)

### Fixed

- Re-add missing recaptcha script [#179](https://github.com/stellar/stellar-disbursement-platform-backend/pull/179)

## [1.1.1](https://github.com/stellar/stellar-disbursement-platform-backend/compare/1.1.0...1.1.1)

### Fixed
Expand Down
3 changes: 3 additions & 0 deletions internal/htmltemplate/tmpl/receiver_register.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,9 @@
<!-- 👋 Injecting info for the JS here: -->
<span data-jwt-token style="display: none">{{.JWTToken}}</span>
</div>

<!-- Scripts -->
<script src="https://www.google.com/recaptcha/api.js" async defer></script>
<!-- Phone number input script -->
<script src="/static/js/intl-tel-input-v18.2.1.min.js" async defer></script>
<script src="/static/js/receiver_registration.js" defer></script>
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (

// Version is the official version of this application. Whenever it's changed
// here, it also needs to be updated at the `helmchart/Chart.yaml#appVersion“.
const Version = "1.1.1"
const Version = "1.1.2"

// GitCommit is populated at build time by
// go build -ldflags "-X main.GitCommit=$GIT_COMMIT"
Expand Down

0 comments on commit aea8191

Please sign in to comment.