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:
Diffstat (limited to 'app/views/u2f/_authenticate.html.haml')
-rw-r--r--app/views/u2f/_authenticate.html.haml19
1 files changed, 0 insertions, 19 deletions
diff --git a/app/views/u2f/_authenticate.html.haml b/app/views/u2f/_authenticate.html.haml
deleted file mode 100644
index 6658d70df8d..00000000000
--- a/app/views/u2f/_authenticate.html.haml
+++ /dev/null
@@ -1,19 +0,0 @@
-#js-authenticate-token-2fa
-%a.btn.btn-block.btn-info#js-login-2fa-device{ href: '#' }= _("Sign in via 2FA code")
-
-%script#js-authenticate-token-2fa-in-progress{ type: "text/template" }
- %p= _("Trying to communicate with your device. Plug it in (if you haven't already) and press the button on the device now.")
-
-%script#js-authenticate-token-2fa-error{ type: "text/template" }
- %div
- %p <%= error_message %> (#{_("error code:")} <%= error_code %>)
- %a.btn.btn-block.btn-warning#js-token-2fa-try-again= _("Try again?")
-
-%script#js-authenticate-token-2fa-authenticated{ type: "text/template" }
- %div
- %p= _("We heard back from your device. You have been authenticated.")
- = form_tag(target_path, method: :post, id: 'js-login-token-2fa-form') do |f|
- - if render_remember_me
- - resource_params = params[resource_name].presence || params
- = hidden_field_tag 'user[remember_me]', resource_params.fetch(:remember_me, 0)
- = hidden_field_tag 'user[device_response]', nil, class: 'form-control', required: true, id: "js-device-response"