Skip to content

Commit cf4bd10

Browse files
committed
add captcha plugin
1 parent 4301d71 commit cf4bd10

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

live-demo/app/resources/users.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import AdminForth, { AdminForthDataTypes, AdminForthResourceColumn } from 'adminforth';
22
import ForeignInlineListPlugin from '@adminforth/foreign-inline-list';
33
import { randomUUID } from 'crypto';
4-
import CaptchaAdapterCloudflare from '../../../adapters/adminforth-login-captcha-adapter-cloudflare/index.js';
5-
import CaptchaPlugin from '../../../plugins/adminforth-login-captcha/index.js';
4+
import CaptchaAdapterCloudflare from "@adminforth/login-captcha-adapter-cloudflare";
5+
import CaptchaPlugin from "@adminforth/login-captcha";
66

77
const blockDemoUsers = async ({ record, adminUser, resource }) => {
88
if (adminUser.dbUser && adminUser.dbUser.role !== 'superadmin') {

0 commit comments

Comments
 (0)