diff options
author | Connor Shea <connor.james.shea@gmail.com> | 2018-03-01 01:59:50 +0300 |
---|---|---|
committer | Connor Shea <connor.james.shea@gmail.com> | 2018-03-01 01:59:50 +0300 |
commit | ad532918ed250ca341a2fd931598d1188adb35dd (patch) | |
tree | a9b4b9d964a0aa4d56bfe2e7245f1973d1a27cb6 /app/views/u2f | |
parent | 25283e71011490c674c54e64384957a692235e38 (diff) |
Ignore InlineJavaScript linter in existing script tag locations.
Diffstat (limited to 'app/views/u2f')
-rw-r--r-- | app/views/u2f/_authenticate.html.haml | 1 | ||||
-rw-r--r-- | app/views/u2f/_register.html.haml | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/app/views/u2f/_authenticate.html.haml b/app/views/u2f/_authenticate.html.haml index f878bece2fa..7eb221620ad 100644 --- a/app/views/u2f/_authenticate.html.haml +++ b/app/views/u2f/_authenticate.html.haml @@ -1,6 +1,7 @@ #js-authenticate-u2f %a.btn.btn-block.btn-info#js-login-2fa-device{ href: '#' } Sign in via 2FA code +-# haml-lint:disable InlineJavaScript %script#js-authenticate-u2f-not-supported{ type: "text/template" } %p Your browser doesn't support U2F. Please use Google Chrome desktop (version 41 or newer). diff --git a/app/views/u2f/_register.html.haml b/app/views/u2f/_register.html.haml index 79e8f8d0e89..cc0e93c0755 100644 --- a/app/views/u2f/_register.html.haml +++ b/app/views/u2f/_register.html.haml @@ -1,5 +1,6 @@ #js-register-u2f +-# haml-lint:disable InlineJavaScript %script#js-register-u2f-not-supported{ type: "text/template" } %p Your browser doesn't support U2F. Please use Google Chrome desktop (version 41 or newer). |