Files
gitlabhq/app/models
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-06-02 11:10:57 -04:00
2016-05-30 22:32:07 +07:00
2011-10-09 00:36:38 +03:00
2016-05-18 08:47:15 -05:00
2016-04-28 21:28:39 +02:00
2016-06-01 16:22:35 +02:00
2016-03-06 23:07:19 -05:00
2016-03-29 12:19:09 +01:00
2016-06-01 16:22:35 +02:00
2015-12-18 14:19:48 -06:00
2016-05-31 19:33:46 -03:00
2016-06-01 12:10:08 +02:00
2016-05-18 23:45:25 -05:00
2016-06-03 15:20:11 +02:00
2016-06-01 16:22:35 +02:00
2016-05-31 11:24:58 -03:00
2016-05-25 17:16:42 -04:00
2016-06-01 16:22:35 +02:00
2016-05-17 10:17:45 +01:00
2016-06-06 12:50:31 +05:30