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:
authorTim Zallmann <tzallmann@gitlab.com>2017-08-01 11:50:59 +0300
committerPhil Hughes <me@iamphill.com>2017-08-01 11:50:59 +0300
commit423d31a300370c9c0acd9e8faae4d7bda2ac7d61 (patch)
tree733b732407f6f682edd875e3915af5e638cfce7d /app/views/u2f
parent5000c4ff4a04007b09bacbc5b5889d1ae3de4e59 (diff)
Inline script cleanup globals and easy
Diffstat (limited to 'app/views/u2f')
-rw-r--r--app/views/u2f/_register.html.haml4
1 files changed, 0 insertions, 4 deletions
diff --git a/app/views/u2f/_register.html.haml b/app/views/u2f/_register.html.haml
index 00788e77b6b..093b2d82813 100644
--- a/app/views/u2f/_register.html.haml
+++ b/app/views/u2f/_register.html.haml
@@ -37,7 +37,3 @@
.col-md-3
= hidden_field_tag 'u2f_registration[device_response]', nil, class: 'form-control', required: true, id: "js-device-response"
= submit_tag "Register U2F device", class: "btn btn-success"
-
-:javascript
- var u2fRegister = new U2FRegister($("#js-register-u2f"), gon.u2f);
- u2fRegister.start();