gitlab-org--gitlab-foss/app/controllers
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
..
admin Add Application Setting to configure Container Registry token expire delay (default 5min) 2016-05-31 13:23:13 +02:00
ci
concerns
dashboard
explore
groups
import
oauth
profiles
projects Respond to .json only 2016-06-03 17:14:23 -05:00
sherlock
abuse_reports_controller.rb
application_controller.rb Add a U2fRegistrations table/model. 2016-06-06 12:50:31 +05:30
autocomplete_controller.rb Updated Ruby 2016-05-25 15:26:02 +01:00
confirmations_controller.rb
dashboard_controller.rb
emojis_controller.rb
groups_controller.rb
health_check_controller.rb
help_controller.rb
invites_controller.rb
jwt_controller.rb Make authentication service for Container Registry to be compatible with < Docker 1.11 2016-05-30 16:57:39 +02:00
namespaces_controller.rb
omniauth_callbacks_controller.rb Enable Style/MethodDefParentheses rubocop cop 2016-05-30 12:08:53 +02:00
passwords_controller.rb
profiles_controller.rb
projects_controller.rb Merge branch 'master' into awardables 2016-06-03 15:20:11 +02:00
registrations_controller.rb current_user.confirmed_at.present? => current_user.confirmed? 2016-05-20 13:52:42 -04:00
root_controller.rb
search_controller.rb
sent_notifications_controller.rb
sessions_controller.rb Pass the "Remember me" value to the 2FA token form 2016-05-30 22:25:35 -04:00
snippets_controller.rb
uploads_controller.rb
users_controller.rb