-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FIO-8027 added Cloudflare Turnstile as a captcha Provider
- Loading branch information
1 parent
09722da
commit da89bf9
Showing
8 changed files
with
10 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
export * from './modules'; | ||
export * from './utils'; | ||
export * from './process/validation'; | ||
export * from './process/validation/rules'; | ||
export * from './process'; | ||
export * from './sdk'; | ||
export * from './types'; | ||
export * from './error'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,7 @@ | ||
import { ValidationRuleInfo } from "types"; | ||
import { validateUniqueInfo } from "./validateUnique"; | ||
import { validateCaptchaInfo } from "./validateCaptcha"; | ||
|
||
// These are the validations that require a database connection. | ||
export const databaseRules: ValidationRuleInfo[] = [ | ||
validateUniqueInfo, | ||
validateCaptchaInfo | ||
validateUniqueInfo | ||
]; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...roject/settings/integrations/reCaptcha.ts → .../project/settings/integrations/captcha.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
export type ProjectReCaptchaConfig = { | ||
export type ProjectCaptchaConfig = { | ||
siteKey: string; | ||
secretKey: string; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters