mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-03 18:40:00 +08:00
feat: add captcha support for sign in/up (#4582)
This commit is contained in:
@@ -263,7 +263,14 @@ if (!nativeBinding) {
|
||||
throw new Error(`Failed to load native binding`);
|
||||
}
|
||||
|
||||
const { SqliteConnection, ValidationResult } = nativeBinding;
|
||||
const {
|
||||
SqliteConnection,
|
||||
ValidationResult,
|
||||
verifyChallengeResponse,
|
||||
mintChallengeResponse,
|
||||
} = nativeBinding;
|
||||
|
||||
module.exports.SqliteConnection = SqliteConnection;
|
||||
module.exports.ValidationResult = ValidationResult;
|
||||
module.exports.verifyChallengeResponse = verifyChallengeResponse;
|
||||
module.exports.mintChallengeResponse = mintChallengeResponse;
|
||||
|
||||
Reference in New Issue
Block a user