core&ui: add passkey login support

This commit is contained in:
undefined committed 2025-05-01 02:38:51 +08:00
1 parent d6865d86e5
commit 5b3bcd1134
8 files changed
+82 -23

No files matched your search

+1 -1
View File
@@ -81,7 +81,7 @@ export const projection = <T, S extends ProjectionSchema<T>>(input: T, schema: S
for (const key of Reflect.ownKeys(input)) {
const schemaIt = schema[key];
if (!schemaIt) continue;
if (schemaIt === 1) result[key] = input[key];
if (schemaIt === 1 || !input[key]) result[key] = input[key];
else result[key] = projection(input[key], schemaIt);
}
return result;