• Timothy Andrew's avatar
    Add a `U2fRegistrations` table/model. · 791cc913
    Timothy Andrew authored
    - 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.
    791cc913
Name
Last commit
Last update
..
admin Loading commit data...
atom Loading commit data...
dashboard Loading commit data...
issues Loading commit data...
merge_requests Loading commit data...
profiles Loading commit data...
projects Loading commit data...
security Loading commit data...
tags Loading commit data...
todos Loading commit data...
builds_spec.rb Loading commit data...
ci_lint_spec.rb Loading commit data...
commits_spec.rb Loading commit data...
container_registry_spec.rb Loading commit data...
dashboard_issues_spec.rb Loading commit data...
dashboard_milestones_spec.rb Loading commit data...
gitlab_flavored_markdown_spec.rb Loading commit data...
groups_spec.rb Loading commit data...
help_pages_spec.rb Loading commit data...
issues_spec.rb Loading commit data...
login_spec.rb Loading commit data...
markdown_spec.rb Loading commit data...
milestone_spec.rb Loading commit data...
notes_on_merge_requests_spec.rb Loading commit data...
participants_autocomplete_spec.rb Loading commit data...
password_reset_spec.rb Loading commit data...
pipelines_spec.rb Loading commit data...
profile_spec.rb Loading commit data...
projects_spec.rb Loading commit data...
runners_spec.rb Loading commit data...
search_spec.rb Loading commit data...
signup_spec.rb Loading commit data...
task_lists_spec.rb Loading commit data...
triggers_spec.rb Loading commit data...
users_spec.rb Loading commit data...
variables_spec.rb Loading commit data...