summaryrefslogtreecommitdiff
path: root/spec/javascripts/fixtures/u2f
Commit message (Collapse)AuthorAgeFilesLines
* Pass the remember_me option into the u2f form and support it while ↵add-remember-option-u2fDJ Mountney2016-09-011-1/+1
| | | | | | authenticating Matches the changes done for non-u2f two-factor auth
* Fix teaspoon spec.17333-u2f-only-after-authenticatorTimothy Andrew2016-06-151-1/+2
| | | | | - We added a `current_user.two_factor_via_otp?` check to the view. When rendering the view via the teaspoon fixture, `current_user` is `nil`.
* Implement authentication (login) using a U2F device.Timothy Andrew2016-06-061-0/+1
| | | | | | - Move the `authenticate_with_two_factor` method from `ApplicationController` to the `AuthenticatesWithTwoFactor` module, where it should be.
* Implement U2F registration.Timothy Andrew2016-06-061-0/+1
- Move the `TwoFactorAuthsController`'s `new` action to `show`, since the page is not used to create a single "two factor auth" anymore. We can have a single 2FA authenticator app, along with any number of U2F devices, in any combination, so the page will be accessed after the first "two factor auth" is created. - Add the `u2f` javascript library, which provides an API to the browser's U2F implementation. - Add tests for the JS components