Remove unused <script> and <noscript> tags in One-Time-Token submit page
This commit is contained in:
parent
528d739a60
commit
4660e042d9
|
@ -116,15 +116,9 @@ public final class DefaultOneTimeTokenSubmitPageGeneratingFilter extends OncePer
|
||||||
<title>One-Time Token Login</title>
|
<title>One-Time Token Login</title>
|
||||||
<meta charset="utf-8"/>
|
<meta charset="utf-8"/>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"/>
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"/>
|
||||||
<meta http-equiv="Content-Security-Policy" content="script-src 'sha256-oZhLbc2kO8b8oaYLrUc7uye1MgVKMyLtPqWR4WtKF+c='"/>
|
|
||||||
{{cssStyle}}
|
{{cssStyle}}
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<noscript>
|
|
||||||
<p>
|
|
||||||
<strong>Note:</strong> Since your browser does not support JavaScript, you must press the Sign In button once to proceed.
|
|
||||||
</p>
|
|
||||||
</noscript>
|
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<form class="login-form" action="{{loginProcessingUrl}}" method="post">
|
<form class="login-form" action="{{loginProcessingUrl}}" method="post">
|
||||||
<h2>Please input the token</h2>
|
<h2>Please input the token</h2>
|
||||||
|
|
|
@ -110,7 +110,6 @@ class DefaultOneTimeTokenSubmitPageGeneratingFilterTests {
|
||||||
<title>One-Time Token Login</title>
|
<title>One-Time Token Login</title>
|
||||||
<meta charset="utf-8"/>
|
<meta charset="utf-8"/>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"/>
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"/>
|
||||||
<meta http-equiv="Content-Security-Policy" content="script-src 'sha256-oZhLbc2kO8b8oaYLrUc7uye1MgVKMyLtPqWR4WtKF+c='"/>
|
|
||||||
<style>
|
<style>
|
||||||
/* General layout */
|
/* General layout */
|
||||||
body {
|
body {
|
||||||
|
@ -238,11 +237,6 @@ class DefaultOneTimeTokenSubmitPageGeneratingFilterTests {
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<noscript>
|
|
||||||
<p>
|
|
||||||
<strong>Note:</strong> Since your browser does not support JavaScript, you must press the Sign In button once to proceed.
|
|
||||||
</p>
|
|
||||||
</noscript>
|
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<form class="login-form" action="/login/another" method="post">
|
<form class="login-form" action="/login/another" method="post">
|
||||||
<h2>Please input the token</h2>
|
<h2>Please input the token</h2>
|
||||||
|
|
Loading…
Reference in New Issue