Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-05-29 09:08:16 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-05-29 09:08:16 +0300
commit2958635884b1dc5c8c01b5f00f0b7b7359556c37 (patch)
treefc875db03082af0ea8861a9cbf32d7c58e98d461 /app/assets/javascripts/shared
parentc70ed55242619ebd139c029a1f3c531d6b81a327 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/shared')
-rw-r--r--app/assets/javascripts/shared/sessions/u2f.js17
1 files changed, 0 insertions, 17 deletions
diff --git a/app/assets/javascripts/shared/sessions/u2f.js b/app/assets/javascripts/shared/sessions/u2f.js
deleted file mode 100644
index 6ae9faf1dde..00000000000
--- a/app/assets/javascripts/shared/sessions/u2f.js
+++ /dev/null
@@ -1,17 +0,0 @@
-import $ from 'jquery';
-import U2FAuthenticate from '../../u2f/authenticate';
-
-export default () => {
- if (!gon.u2f) return;
-
- const u2fAuthenticate = new U2FAuthenticate(
- $('#js-authenticate-u2f'),
- '#js-login-u2f-form',
- gon.u2f,
- document.querySelector('#js-login-2fa-device'),
- document.querySelector('.js-2fa-form'),
- );
- u2fAuthenticate.start();
- // needed in rspec
- gl.u2fAuthenticate = u2fAuthenticate;
-};