Skip to content

Commit 5c19ce2

Browse files
committed
fix: add getRenderWidgetFunctionName method to CaptchaAdapter interface
1 parent 9345e4a commit 5c19ce2

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

adminforth/types/adapters/CaptchaAdapter.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,11 @@ export interface CaptchaAdapter {
2727
* Returns the script HTML for the captcha widget.
2828
*/
2929
getRenderWidgetCode(): string;
30+
31+
/**
32+
* Returns the function name to render the captcha widget.
33+
*/
34+
getRenderWidgetFunctionName(): string;
3035
/**
3136
* Validates the captcha token.
3237
*/

0 commit comments

Comments
 (0)