← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 6603: Relaxed validation of usernames

 

------------------------------------------------------------
revno: 6603
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Mon 2012-04-16 17:10:44 +0200
message:
  Relaxed validation of usernames
modified:
  dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/javascripts/validationRules.js


--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk

Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/javascripts/validationRules.js'
--- dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/javascripts/validationRules.js	2012-04-04 04:27:11 +0000
+++ dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/javascripts/validationRules.js	2012-04-16 15:10:44 +0000
@@ -2,9 +2,7 @@
     "user" : {
         "username" : {
             "required" : true,
-            "rangelength" : [ 2, 140 ],
-            "firstletteralphabet" : true,
-            "alphanumeric" : true
+            "rangelength" : [ 2, 140 ]
         },
         "firstName" : {
             "required" : true,