diff options
author | Stan Hu <stanhu@gmail.com> | 2015-06-24 08:36:35 +0300 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2015-06-24 08:41:59 +0300 |
commit | 6548e9b48c079bb29cfe61eff99179e880583641 (patch) | |
tree | d189ff431a8b85f9e39c978f99e8fe3d87a97b43 /lib | |
parent | 764b5913c8f960d09d4777e3233662f507b0ec13 (diff) |
Add 2FA status to user admin API
Closes https://github.com/gitlabhq/gitlabhq/issues/9391
Diffstat (limited to 'lib')
-rw-r--r-- | lib/api/entities.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/api/entities.rb b/lib/api/entities.rb index b23eff3661c..14a8f929d76 100644 --- a/lib/api/entities.rb +++ b/lib/api/entities.rb @@ -24,6 +24,7 @@ module API expose :identities, using: Entities::Identity expose :can_create_group?, as: :can_create_group expose :can_create_project?, as: :can_create_project + expose :two_factor_enabled end class UserLogin < UserFull |