提交 b8343469 编写于 作者: K Kohsuke Kawaguchi

this makes no sense.

- if the user is anonymous, he'd go to HudsonAUthenticationEntryPoint, not here.
- even if there is some code path that comes here, there's no guarnatee that SecurityRealm in charge wants a login form.
上级 d6ac6aab
......@@ -32,28 +32,6 @@ THE SOFTWARE.
<h1>${%Access Denied}</h1>
<!-- TODO: message is not human readable. define a subclass -->
<p class="error"><st:out value="${exception.message}"/></p>
<j:if test="${h.isAnonymous()}">
<div style="margin: 2em;">
<!-- login form -->
<form action="j_security_check" method="post" style="text-size:smaller">
<table>
<tr>
<td>${%User}:</td>
<td><input type="text" name="j_username" id="j_username" /></td>
</tr>
<tr>
<td>${%Password}:</td>
<td><input type="password" name="j_password" /></td>
</tr>
</table>
<f:submit value="${%login}" />
<script>
$('j_username').focus();
</script>
</form>
</div>
</j:if>
</l:main-panel>
</l:layout>
</j:jelly>
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册