Skip to content

Commit bded928

Browse files
committed
fix: add setToken method to the CaptchaAdapter
1 parent be556e3 commit bded928

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

adminforth/types/adapters/CaptchaAdapter.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,11 @@ export interface CaptchaAdapter {
2323
*/
2424
getToken(): Promise<string> | string;
2525

26+
/**
27+
* Sets the token for the captcha.
28+
*/
29+
setToken(token: string): void;
30+
2631
/**
2732
* Returns the script HTML for the captcha widget.
2833
*/

0 commit comments

Comments
 (0)