This is an automated email from the ASF dual-hosted git repository.
rombert pushed a commit to branch master
in repository
https://gitbox.apache.org/repos/asf/sling-org-apache-sling-auth-form.git
The following commit(s) were added to refs/heads/master by this push:
new 156d2c2 SLING-7414 - WebConsole security provider 1.1.0 or newer do
not work with the Sling Starter
156d2c2 is described below
commit 156d2c232732cd04ca832ef8f542a9e1d7c0b4b7
Author: Robert Munteanu <[email protected]>
AuthorDate: Mon Oct 15 16:40:04 2018 +0200
SLING-7414 - WebConsole security provider 1.1.0 or newer do not work with
the Sling Starter
Make the login form use an action which is guaranteed to not collide with
the
Web Console URL.
---
src/main/resources/org/apache/sling/auth/form/impl/login.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/resources/org/apache/sling/auth/form/impl/login.html
b/src/main/resources/org/apache/sling/auth/form/impl/login.html
index 05ca293..aecad2f 100644
--- a/src/main/resources/org/apache/sling/auth/form/impl/login.html
+++ b/src/main/resources/org/apache/sling/auth/form/impl/login.html
@@ -40,7 +40,7 @@
<div class="Grid">
<section class="Cell Medium-35">
<h3>Login:</h3>
- <form id="loginform"
method="POST" action="${requestContextPath}/j_security_check"
enctype="multipart/form-data" accept-charset="UTF-8">
+ <form id="loginform"
method="POST" action="${contextPath}/j_security_check"
enctype="multipart/form-data" accept-charset="UTF-8">
<input type="hidden"
name="_charset_" value="UTF-8" />
<input type="hidden"
name="resource" value="${resource}" />
<div id="error">