Improve captcha (#7138)

This commit is contained in:
MeiMei
2021-02-06 11:46:47 +09:00
committed by GitHub
parent 41d7515f85
commit 0e45f10d99
5 changed files with 62 additions and 60 deletions

View File

@ -1,16 +0,0 @@
declare module 'recaptcha-promise' {
interface IVerifyOptions {
secret_key?: string;
}
interface IVerify {
(response: string, remoteAddress?: string): Promise<boolean>;
init(options: IVerifyOptions): IVerify;
}
namespace recaptchaPromise {} // Hack
const verify: IVerify;
export = verify;
}