Skip to content

Add 2FA status to user admin API

Stan Hu requested to merge stanhu/gitlab-ce:add-2fa-status-to-admin-api into master

What does this MR do?

This MR adds the two_factor_enabled field to the admin's API to indicate whether a given user has enabled 2FA.

Why was this MR needed?

There was no way to figure out whether 2FA was enabled for a user via the API.

What are the relevant issue numbers?

Closes https://github.com/gitlabhq/gitlabhq/issues/9391

Merge request reports