Author: tyrell
Date: Tue Jul  8 19:27:14 2008
New Revision: 19002
URL: http://wso2.org/svn/browse/wso2?view=rev&revision=19002

Log:
Fixing MASHUP-840

Modified:
   
trunk/mashup/java/modules/core/src/org/wso2/mashup/webapp/identity/RegistrationBean.java
   trunk/mashup/java/modules/www/register_self.jsp

Modified: 
trunk/mashup/java/modules/core/src/org/wso2/mashup/webapp/identity/RegistrationBean.java
URL: 
http://wso2.org/svn/browse/wso2/trunk/mashup/java/modules/core/src/org/wso2/mashup/webapp/identity/RegistrationBean.java?rev=19002&r1=19001&r2=19002&view=diff
==============================================================================
--- 
trunk/mashup/java/modules/core/src/org/wso2/mashup/webapp/identity/RegistrationBean.java
    (original)
+++ 
trunk/mashup/java/modules/core/src/org/wso2/mashup/webapp/identity/RegistrationBean.java
    Tue Jul  8 19:27:14 2008
@@ -332,7 +332,7 @@
                                                     .CAPTCHA_CONFIG_STATUS);
             if (captchaStatus.equalsIgnoreCase("true")) {
                 String expectedCaptchaValue = (String) 
request.getSession().getAttribute("captcha");
-                if (!captcha.equals(expectedCaptchaValue)) {
+                if (!captcha.equalsIgnoreCase(expectedCaptchaValue)) {
                     //Clearing existing error records
                     errors.clear();
                     errors.put("captcha",

Modified: trunk/mashup/java/modules/www/register_self.jsp
URL: 
http://wso2.org/svn/browse/wso2/trunk/mashup/java/modules/www/register_self.jsp?rev=19002&r1=19001&r2=19002&view=diff
==============================================================================
--- trunk/mashup/java/modules/www/register_self.jsp     (original)
+++ trunk/mashup/java/modules/www/register_self.jsp     Tue Jul  8 19:27:14 2008
@@ -95,7 +95,7 @@
                             field = "Password Confirmation";
                             break;
                         case "captcha":
-                            field = "Captcha (The text you see in the image)";
+                            field = "Captcha (The text you see in the image. 
Not case sensitive)";
                             break;
                     }
 
@@ -187,7 +187,7 @@
                     </td>
                     <td>
                         <br/>
-                        <label>Type the text you see in the image here<font
+                        <label>Type the text you see in the image here (Not 
case sensitive)<font
                                 color="#FF0000">*</font></label>
                         <br/>
                         <input type="text" name="captcha"

_______________________________________________
Mashup-dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/mashup-dev

Reply via email to