crhume / pwm

Automatically exported from code.google.com/p/pwm
0 stars 0 forks source link

changepassword.jsp policy change message code error #68

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What is the expected output? What do you see instead?
Policy change message is not correctly localized.
Line 50 of changepassword.jsp should change from:
<% final String passwordPolicyChangeMessage = 
PwmSession.getPwmSession(session).getUserInfoBean().getPasswordPolicy().getRuleH
elper().getChangeMessage(); %>
to:
<% final String passwordPolicyChangeMessage = 
PwmSession.getPwmSession(session).getConfig().readLocalizedStringSetting(PwmSett
ing.PASSWORD_POLICY_CHANGE_MESSAGE,PwmSession.getSessionStateBean(session).getLo
cale()); %>

What version of the product are you using? On what operating system?
1.5.3

Original issue reported on code.google.com by andrea.d...@gmail.com on 20 May 2011 at 9:00

GoogleCodeExporter commented 9 years ago
Fixed in svn revision 163, bug was actually in Configuration.java

Original comment by jrivard on 20 May 2011 at 11:12