1
0
mirror of https://github.com/kataras/iris.git synced 2026-01-04 02:37:14 +00:00

add hCaptcha middleware and example and memstore json struct tags

Former-commit-id: 31e4f68429e354c9130ebcf3829683a6d52e4492
This commit is contained in:
Gerasimos (Makis) Maropoulos
2020-04-14 02:22:57 +03:00
parent a1e6d81b49
commit eafa63da50
7 changed files with 294 additions and 18 deletions

View File

@@ -0,0 +1,18 @@
<html>
<head>
<title>hCaptcha Demo</title>
<script src="https://hcaptcha.com/1/api.js" async defer></script>
</head>
<body>
<form action="/register" method="POST">
<input type="text" name="email" placeholder="Email" />
<input type="password" name="password" placeholder="Password" />
<div class="h-captcha" data-sitekey="{{ .SiteKey }}"></div>
<br />
<input type="submit" value="Submit" />
</form>
</body>
</html>