Skip to content

Commit 8fe634c

Browse files
committed
fix: update validate method in CaptchaAdapter to include IP address parameter
1 parent e5309a4 commit 8fe634c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adminforth/types/adapters/CaptchaAdapter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,5 @@ export interface CaptchaAdapter {
2626
/**
2727
* Validates the captcha token.
2828
*/
29-
validate(token: string): Promise<boolean>;
29+
validate(token: string, ip: string): Promise<boolean>;
3030
}

0 commit comments

Comments
 (0)