mirror of
https://github.com/selfxyz/self.git
synced 2026-04-05 03:00:53 -04:00
feat: improve tree and registration
This commit is contained in:
@@ -201,6 +201,9 @@ export async function isUserRegistered(
|
||||
passportData: PassportData,
|
||||
secret: string,
|
||||
) {
|
||||
if (!passportData) {
|
||||
return false;
|
||||
}
|
||||
const commitment = generateCommitment(
|
||||
secret,
|
||||
PASSPORT_ATTESTATION_ID,
|
||||
|
||||
Reference in New Issue
Block a user