chore(core): Expose mfaEnabled field to users list endpoint (#16654)

This commit is contained in:
Andreas Fitzek
2025-06-24 14:21:43 +02:00
committed by GitHub
parent bc53c21e15
commit c4a50df824
5 changed files with 74 additions and 3 deletions

View File

@@ -13,6 +13,7 @@ export const validateUser = (user: PublicUser) => {
expect(user.personalizationAnswers).toBeNull();
expect(user.password).toBeUndefined();
expect(user.role).toBeDefined();
expect(typeof (user as any).mfaEnabled).toBe('boolean');
};
export type UserInvitationResult = {