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.
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">