Files
gitlabhq/lib/api
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
..
2016-05-20 15:58:36 -05:00
2016-02-19 18:30:43 +01:00
2016-05-13 17:31:43 -05:00
2016-02-01 10:41:52 +01:00
2016-05-20 15:58:36 -05:00
2013-07-16 11:28:19 +03:00
2015-07-06 16:47:19 +02:00