Implement U2F registration.
- 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
Showing
app/assets/javascripts/u2f/error.js.coffee
0 → 100644
app/views/u2f/_register.html.haml
0 → 100644
spec/javascripts/u2f/register_spec.js.coffee
0 → 100644
vendor/assets/javascripts/u2f.js
0 → 100644
This diff is collapsed.
Click to expand it.
Please
register
or
sign in
to comment