gitlab-org--gitlab-foss/lib
Timothy Andrew 791cc9138b Add a `U2fRegistrations` table/model.
- To hold registrations from U2F devices, and to authenticate them.
- Previously, `User#two_factor_enabled` was aliased to the
  `otp_required_for_login` column on `users`.
- This commit changes things a bit:
    - `User#two_factor_enabled` is not a method anymore
    - `User#two_factor_enabled?` checks both the
      `otp_required_for_login` column, as well as `U2fRegistration`s
    - Change all instances of `User#two_factor_enabled` to
      `User#two_factor_enabled?`
- Add the `u2f` gem, and implement registration/authentication at the
  model level.
2016-06-06 12:50:31 +05:30
..
api Add a `U2fRegistrations` table/model. 2016-06-06 12:50:31 +05:30
assets
backup Replace colorize gem with rainbow. 2016-06-03 10:37:09 -06:00
banzai Merge branch 'banzai-user-filter-queries' 2016-06-03 14:35:49 +02:00
ci Enable Style/NegatedIf Rubocop cop 2016-05-30 13:53:25 +02:00
container_registry Provide full test coverage to lib/container_registry API implementation 2016-05-17 13:20:11 -05:00
gitlab Merge branch 'rubocop/enable-ambiguous-operator-rubocop-lint' into 'master' 2016-06-05 19:08:56 +00:00
json_web_token Rename JWT to JSONWebToken 2016-05-14 18:23:31 -05:00
omni_auth
rouge/formatters
support Add note about port needed in NGINX config 2016-05-22 19:20:28 -05:00
tasks Replace colorize gem with rainbow. 2016-06-03 10:37:09 -06:00
banzai.rb Add a PreProcessPipeline 2016-03-02 22:19:36 -05:00
disable_email_interceptor.rb
event_filter.rb Add leading comment space cop 2016-05-31 19:33:46 -03:00
extracts_path.rb
file_size_validator.rb Get rid of more requires, which causes warnings when code is reloaded 2016-04-19 11:48:10 +02:00
file_streamer.rb
gitlab.rb Fix a few places where autoloading would fail 2016-05-10 11:51:19 +02:00
gt_one_coercion.rb
repository_cache.rb
static_model.rb
unfold_form.rb
uploaded_file.rb
version_check.rb