Hi,

While I was playing with latest jspwiki (v3.0.0-svn-70),I found that *User Action* is always Login even if I logged in successfully. I searched around and it turned that this issue was caused by using incorrect resource key in UserBox.jsp. Line 49 in this file should be changed from:
     <fmt:message key="actions.login"/>
to
     <fmt:message key="actions.logout"/>

I also attached the svn patch along this mail for your convenience. Thank you

Best Regards

David Gao
Index: UserBox.jsp
===================================================================
--- UserBox.jsp (revision 744860)
+++ UserBox.jsp (working copy)
@@ -46,7 +46,7 @@
       beanclass="org.apache.wiki.action.LoginActionBean" event="logout"
       class="action logout"
       title="${logoutTitle}">
-      <fmt:message key="actions.login"/>
+      <fmt:message key="actions.logout"/>
     </stripes:link>
   </wiki:UserCheck>
 

Reply via email to