Prepare for 2 Factor Authentication (2FA)
just for your information, currently 2 Factor Authentication is not required within your app even if its enabled.
looks like an api issue https://gitlab.com/gitlab-org/gitlab-ce/issues/2979 which will be fixed in future.