[Commits] (bcm) allow passwords to be 5-16 characters (instead of 6-16). don't use commons

commits at osafoundation.org commits at osafoundation.org
Fri Apr 15 13:19:10 PDT 2005


Commit by: bcm
Modified files:
server/web/web/WEB-INF/validation.xml 1.4 1.5

Log message:
allow passwords to be 5-16 characters (instead of 6-16). don't use commons
validator's email validation for email addresses, since it doesn't allow
addresses of the form 'root at localhost'.


ViewCVS links:
http://cvs.osafoundation.org/index.cgi/server/web/web/WEB-INF/validation.xml.diff?r1=text&tr1=1.4&r2=text&tr2=1.5

Index: server/web/web/WEB-INF/validation.xml
diff -u server/web/web/WEB-INF/validation.xml:1.4 server/web/web/WEB-INF/validation.xml:1.5
--- server/web/web/WEB-INF/validation.xml:1.4	Fri Apr 15 12:32:36 2005
+++ server/web/web/WEB-INF/validation.xml	Fri Apr 15 13:19:09 2005
@@ -37,9 +37,8 @@
          </var>
        </field>
        <field property="email"
-              depends="required,email,maxlength">
+              depends="required,maxlength">
          <msg name="required" key="Form.FieldRequired"/>
-         <msg name="email" key="Form.EmailInvalid"/>
          <msg name="maxlength" key="Form.Length"/>
          <arg0 name="maxlength" key="${var:minlength}" resource="false"/>
          <arg1 name="maxlength" key="${var:maxlength}" resource="false"/>
@@ -63,7 +62,7 @@
          <arg1 name="maxlength" key="${var:maxlength}" resource="false"/>
          <var>
            <var-name>minlength</var-name>
-           <var-value>6</var-value>
+           <var-value>5</var-value>
          </var>
          <var>
            <var-name>maxlength</var-name>
@@ -86,9 +85,8 @@
      </form>
      <form name="updateUserForm">
        <field property="email"
-              depends="required,email,maxlength">
+              depends="required,maxlength">
          <msg name="required" key="Form.FieldRequired"/>
-         <msg name="email" key="Form.EmailInvalid"/>
          <msg name="maxlength" key="Form.Length"/>
          <arg0 name="maxlength" key="${var:minlength}" resource="false"/>
          <arg1 name="maxlength" key="${var:maxlength}" resource="false"/>
@@ -111,7 +109,7 @@
          <arg1 name="maxlength" key="${var:maxlength}" resource="false"/>
          <var>
            <var-name>minlength</var-name>
-           <var-value>6</var-value>
+           <var-value>5</var-value>
          </var>
          <var>
            <var-name>maxlength</var-name>



More information about the Commits mailing list