Skip to content

Commit 27cf138

Browse files
authored
Merge pull request #541 from devforth/check-captcha-in-live-demo
add captcha plugin
2 parents 171ca25 + 479600d commit 27cf138

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

live-demo/app/resources/users.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const blockDemoUsers = async ({ record, adminUser, resource }) => {
99
return { ok: false, error: "You can't do this on demo.adminforth.dev" }
1010
}
1111
return { ok: true };
12-
}
12+
}
1313
export default {
1414
dataSource: 'maindb',
1515
table: 'users',

live-demo/deploy/compose.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ services:
1212
- AWS_SECRET_ACCESS_KEY=${VAULT_AWS_SECRET_ACCESS_KEY}
1313
- DATABASE_FILE_URL=file:./db/live.sqlite
1414
- ADMIN_PASSWORD=${VAULT_ADMIN_PASSWORD}
15+
- CLOUDFLARE_SITE_KEY=${VAULT_CLOUDFLARE_SITE_KEY}
16+
- CLOUDFLARE_SECRET_KEY=${VAULT_CLOUDFLARE_SECRET_KEY}
1517
volumes:
1618
- af-db:/code/db/
1719

0 commit comments

Comments
 (0)