Skip to content

Commit

Permalink
fix: nojs help webpage
Browse files Browse the repository at this point in the history
  • Loading branch information
realaravinth committed Oct 27, 2023
1 parent 1390149 commit 8979980
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ RUN cargo build --release || true
COPY . /src
RUN cargo build --release

FROM debian:bookwork as mcaptcha-showcase
FROM debian:bookworm as mcaptcha-showcase
LABEL org.opencontainers.image.source https://github.com/mCaptcha/dos
RUN apt-get update && apt-get install -y ca-certificates
RUN useradd -ms /bin/bash -u 1001 mcaptcha-showcase
Expand Down
6 changes: 3 additions & 3 deletions config/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ proxy_has_tls = false

[captcha]
# Please set sitekey retrieved from an mCaptcha instance
sitekey = "changeme"
account_secret = "changeme"
mcaptcha_url = "https://mcaptcha.example.org"
sitekey = "pHy0AktWyOKuxZDzFfoaewncWecCHo23"
account_secret = "UO7pDP62xo6yWvIVZk8AZls5dZxt9Vp3"
mcaptcha_url = "https://demo.mcaptcha.org"
2 changes: 1 addition & 1 deletion src/static/protected.html
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ <h1>Demo Form</h1>
<input type="password" name="comment" id="comment" />
</label>
<label data-mcaptcha_url="MCAPTCHA_URL_REPLACEME" for="mcaptcha__token" id="mcaptcha__token-label">
mCaptcha authorization token. <a href="https://mcaptcha.org">Instructions</a>.
mCaptcha authorization token. <a href="https://mcaptcha.org/docs/user-manual/how-to-mcaptcha-without-js">Instructions</a>.
<input type="text" name="mcaptcha__token" id="mcaptcha__token" />
</label>
<div id="mcaptcha__widget-container"></div>
Expand Down

0 comments on commit 8979980

Please sign in to comment.