-
- Downloads
Load Javascript U2F library selectively.
1. Only on supported Chrome versions 2. Mainly, this lets us simplify the javascript-based U2F check to `window.u2f`, where `window.u2f` can either be loaded from the GitLab server (for Chrome) or from the Firefox extension. 3. This is a better way to provide browser detection for U2F.
Showing
- CHANGELOG 1 addition, 0 deletionsCHANGELOG
- app/assets/javascripts/application.js.coffee 0 additions, 1 deletionapp/assets/javascripts/application.js.coffee
- app/assets/javascripts/u2f/util.js.coffee.erb 1 addition, 13 deletionsapp/assets/javascripts/u2f/util.js.coffee.erb
- app/controllers/application_controller.rb 0 additions, 4 deletionsapp/controllers/application_controller.rb
- app/controllers/concerns/authenticates_with_two_factor.rb 1 addition, 2 deletionsapp/controllers/concerns/authenticates_with_two_factor.rb
- app/controllers/profiles/two_factor_auths_controller.rb 1 addition, 2 deletionsapp/controllers/profiles/two_factor_auths_controller.rb
- app/helpers/u2f_helper.rb 5 additions, 0 deletionsapp/helpers/u2f_helper.rb
- app/views/devise/sessions/two_factor.html.haml 4 additions, 0 deletionsapp/views/devise/sessions/two_factor.html.haml
- app/views/profiles/two_factor_auths/show.html.haml 4 additions, 0 deletionsapp/views/profiles/two_factor_auths/show.html.haml
- config/application.rb 1 addition, 0 deletionsconfig/application.rb
Loading
Please register or sign in to comment