Fixed "use_tfa" incorrect naming and typing in API


Well-known member
Affected version
If we open API documentation for User entity, we can see field named as use_tfa with type array:

But in API response for /me action, this field is presented as usa_tfa and in boolean type:
Last edited:
Thank you for reporting this issue, it has now been resolved. We are aiming to include any changes that have been made in a future XF release (2.2.9).

Change log:
Correctly mark the use_tfa field as a boolean value in the API documentation
There may be a delay before changes are rolled out to the XenForo Community.
We have the ability to do that but a new version for this one particular issue seems a bit OTT. Plus the bug is within the entity itself which means multiple API methods would need to be patched and potentially third party ones too.

So new method versions are probably going to be reserved for significant changes which affect one or few methods only.
Top Bottom