2FA can now be enabled and disabled via the provisioning api #25876
<?xml version="1.0"?> <ocs> <meta> <status>ok</status> <statuscode>100</statuscode> <message/> </meta> <data> <enabled>true</enabled> <quota/> <email/> <displayname>user1</displayname> <two_factor_auth_enabled></two_factor_auth_enabled> </data> </ocs>
When enabled it shows as 1.
PVince81 merged commit
Aug 22, 2016
4 checks passed
This is what I saw when getting the user:
Add this suggestion to a batch that can be applied as a single commit. This suggestion is invalid because no changes were made to the code. Suggestions cannot be applied while the pull request is closed. Suggestions cannot be applied while viewing a subset of changes. Only one suggestion per line can be applied in a batch. Add this suggestion to a batch that can be applied as a single commit. Applying suggestions on deleted lines is not supported. You must change the existing code in this line in order to create a valid suggestion. Outdated suggestions cannot be applied. This suggestion has been applied or marked resolved. Suggestions cannot be applied from pending reviews.