Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
617a8e2a
Commit
617a8e2a
authored
Mar 01, 2018
by
Mike Greiling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove two_factor_auth bundle
parent
bb41a889
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
6 deletions
+1
-6
app/assets/javascripts/pages/profiles/two_factor_auths/index.js
...sets/javascripts/pages/profiles/two_factor_auths/index.js
+1
-1
app/views/profiles/two_factor_auths/show.html.haml
app/views/profiles/two_factor_auths/show.html.haml
+0
-4
config/webpack.config.js
config/webpack.config.js
+0
-1
No files found.
app/assets/javascripts/
two_factor_auth
.js
→
app/assets/javascripts/
pages/profiles/two_factor_auths/index
.js
View file @
617a8e2a
import
U2FRegister
from
'
.
/u2f/register
'
;
import
U2FRegister
from
'
~
/u2f/register
'
;
document
.
addEventListener
(
'
DOMContentLoaded
'
,
()
=>
{
const
twoFactorNode
=
document
.
querySelector
(
'
.js-two-factor-auth
'
);
...
...
app/views/profiles/two_factor_auths/show.html.haml
View file @
617a8e2a
...
...
@@ -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
...
...
config/webpack.config.js
View file @
617a8e2a
...
...
@@ -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
'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment