Fix webauth device removal
- Remove backup codes when last two-factor auth method removed Changelog: fixed
显示
- app/controllers/profiles/webauthn_registrations_controller.rb 1 个添加, 2 个删除...controllers/profiles/webauthn_registrations_controller.rb
- app/services/webauthn/destroy_service.rb 30 个添加, 0 个删除app/services/webauthn/destroy_service.rb
- spec/controllers/profiles/webauthn_registrations_controller_spec.rb 20 个添加, 4 个删除...ollers/profiles/webauthn_registrations_controller_spec.rb
- spec/factories/users.rb 2 个添加, 0 个删除spec/factories/users.rb
- spec/services/webauthn/destroy_service_spec.rb 80 个添加, 0 个删除spec/services/webauthn/destroy_service_spec.rb
app/services/webauthn/destroy_service.rb
0 → 100644
想要评论请 注册 或 登录