mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 22:23:42 +01:00
Add reCAPTCHA enterprise support and refactor invite flow (#35134)
GitOrigin-RevId: 4a4ebbd9e5ec55c3532a0cd3fa6c0feda3e2733c
This commit is contained in:
committed by
Copybot
parent
5a602e1b1d
commit
da7a2f0e72
@@ -37,6 +37,7 @@ export type ExposedSettings = {
|
||||
}
|
||||
recaptchaSiteKeyV3?: string
|
||||
recaptchaSiteKey?: string
|
||||
recaptchaEnterpriseSiteKey?: string
|
||||
samlInitPath?: string
|
||||
sentryAllowedOriginRegex: string
|
||||
sentryDsn?: string
|
||||
|
||||
@@ -8,4 +8,8 @@ export interface ReCaptchaInstance {
|
||||
render: (element: HTMLElement | string, config: ReCaptchaConfig) => string
|
||||
execute: (recaptchaId: string) => Promise<string>
|
||||
reset: (recaptchaId?: string) => void
|
||||
enterprise?: {
|
||||
ready: (callback: () => void) => void
|
||||
execute: (siteKey: string, options: { action: string }) => Promise<string>
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user