remove two_factor_auth bundle

This commit is contained in:
Mike Greiling 2018-03-01 15:05:49 -06:00
parent bb41a88948
commit 617a8e2a3a
No known key found for this signature in database
GPG key ID: 0303DF507FA67596
3 changed files with 1 additions and 6 deletions

View file

@ -1,4 +1,4 @@
import U2FRegister from './u2f/register';
import U2FRegister from '~/u2f/register';
document.addEventListener('DOMContentLoaded', () => {
const twoFactorNode = document.querySelector('.js-two-factor-auth');

View file

@ -2,10 +2,6 @@
- add_to_breadcrumbs("Two-Factor Authentication", profile_account_path)
- @content_class = "limit-container-width" unless fluid_layout
- content_for :page_specific_javascripts do
= webpack_bundle_tag('two_factor_auth')
.js-two-factor-auth{ 'data-two-factor-skippable' => "#{two_factor_skippable?}", 'data-two_factor_skip_url' => skip_profile_two_factor_auth_path }
.row.prepend-top-default
.col-lg-4

View file

@ -48,7 +48,6 @@ function generateEntries() {
protected_branches: './protected_branches',
registry_list: './registry/index.js',
terminal: './terminal/terminal_bundle.js',
two_factor_auth: './two_factor_auth.js',
common: './commons/index.js',
common_vue: './vue_shared/vue_resource_interceptor.js',