Enable WebAuthn device registration without TOTP
We replaced the jQuery application to register WebAuthn devices by a Vue component. We made the WebAuthn device registration possible without TOTP. Therefore, the `Set up new device` button is always available. We increased security by adding a required password field to be able to register a new device. We also introduced a few minor UI improvements.
显示
- app/assets/javascripts/authentication/mount_2fa.js 2 个添加, 2 个删除app/assets/javascripts/authentication/mount_2fa.js
- app/assets/javascripts/authentication/webauthn/components/registration.vue 226 个添加, 0 个删除...ripts/authentication/webauthn/components/registration.vue
- app/assets/javascripts/authentication/webauthn/constants.js 44 个添加, 0 个删除app/assets/javascripts/authentication/webauthn/constants.js
- app/assets/javascripts/authentication/webauthn/index.js 1 个添加, 1 个删除app/assets/javascripts/authentication/webauthn/index.js
- app/assets/javascripts/authentication/webauthn/registration.js 22 个添加, 0 个删除...ssets/javascripts/authentication/webauthn/registration.js
- app/assets/javascripts/pages/profiles/two_factor_auths/index.js 2 个添加, 0 个删除...sets/javascripts/pages/profiles/two_factor_auths/index.js
- app/helpers/device_registration_helper.rb 11 个添加, 0 个删除app/helpers/device_registration_helper.rb
- app/views/authentication/_register.html.haml 46 个添加, 43 个删除app/views/authentication/_register.html.haml
- locale/gitlab.pot 15 个添加, 0 个删除locale/gitlab.pot
- spec/frontend/authentication/webauthn/components/registration_spec.js 249 个添加, 0 个删除...d/authentication/webauthn/components/registration_spec.js
- spec/frontend/fixtures/webauthn.rb 1 个添加, 0 个删除spec/frontend/fixtures/webauthn.rb
- spec/helpers/device_registration_helper_spec.rb 37 个添加, 0 个删除spec/helpers/device_registration_helper_spec.rb
加载中
想要评论请 注册 或 登录