You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@roller.apache.org by ag...@apache.org on 2005/09/21 02:52:09 UTC

svn commit: r290593 - /incubator/roller/branches/roller_2.0/web/login.jsp

Author: agilliland
Date: Tue Sep 20 17:51:49 2005
New Revision: 290593

URL: http://svn.apache.org/viewcvs?rev=290593&view=rev
Log:
adding secure login logic which got misplaced.


Modified:
    incubator/roller/branches/roller_2.0/web/login.jsp

Modified: incubator/roller/branches/roller_2.0/web/login.jsp
URL: http://svn.apache.org/viewcvs/incubator/roller/branches/roller_2.0/web/login.jsp?rev=290593&r1=290592&r2=290593&view=diff
==============================================================================
--- incubator/roller/branches/roller_2.0/web/login.jsp (original)
+++ incubator/roller/branches/roller_2.0/web/login.jsp Tue Sep 20 17:51:49 2005
@@ -1,4 +1,9 @@
 <%@ include file="/taglibs.jsp" %>
+<% request.setAttribute("secure_login", 
+    org.roller.config.RollerConfig.getProperty("securelogin.enabled")); %>
+<c:if test='${secure_login == "true"}' >
+  <roller:secure mode="secured" />
+</c:if>
 <tiles:insert page="/theme/tiles-simplepage.jsp">
    <tiles:put name="banner"       value="/theme/banner.jsp" />
    <tiles:put name="bannerStatus" value="/theme/bannerStatus.jsp" />