fix: expose client fetch and signed adjustments
This commit is contained in:
@@ -1672,6 +1672,11 @@ export function createAuthEngine(options: AuthEngineOptions): AuthEngine {
|
||||
(typeof metadata.deviceId === "string" ? metadata.deviceId : undefined),
|
||||
trusted: Boolean(rememberedDevice) || input.session?.trusted === true,
|
||||
fingerprint: typeof metadata.fingerprint === "string" ? metadata.fingerprint : undefined,
|
||||
metadata: {
|
||||
...(input.session?.metadata ?? {}),
|
||||
mfaVerifiedAt: now(),
|
||||
mfaMethod: input.method,
|
||||
},
|
||||
});
|
||||
user.lastLoginAt = now();
|
||||
user.updatedAt = now();
|
||||
|
||||
Reference in New Issue
Block a user