X-Git-Url: https://git.ucc.asn.au/?p=matches%2FMCTX3420.git;a=blobdiff_plain;f=testing%2FMCTXWeb%2Fpublic_html%2Fusers%2Fregister.php;h=8a0d6e685831811cfced29b2bdf8e8314b4d5e0c;hp=32f1ae16d5f899790c8662014cae92ee54783e71;hb=828cdbf49f52572e93c5c5a48e05277525a4055f;hpb=5303f53cb44fffd4c59890d3c333f74d7cd7cb4e diff --git a/testing/MCTXWeb/public_html/users/register.php b/testing/MCTXWeb/public_html/users/register.php index 32f1ae1..8a0d6e6 100644 --- a/testing/MCTXWeb/public_html/users/register.php +++ b/testing/MCTXWeb/public_html/users/register.php @@ -40,9 +40,9 @@ if(!empty($_POST)) if(!ctype_alnum($displayname)){ $errors[] = lang("ACCOUNT_DISPLAY_INVALID_CHARACTERS"); } - if(minMaxRange(8,50,$password) && minMaxRange(8,50,$confirm_pass)) + if(minMaxRange(6,50,$password) && minMaxRange(6,50,$confirm_pass)) { - $errors[] = lang("ACCOUNT_PASS_CHAR_LIMIT",array(8,50)); + $errors[] = lang("ACCOUNT_PASS_CHAR_LIMIT",array(6,50)); } else if($password != $confirm_pass) { @@ -81,25 +81,13 @@ if(!empty($_POST)) } require_once("models/header.php"); -echo " - -
-
-
-

UserCake

-

Register

+startPage(); -
"; -include("left-nav.php"); echo " -
- -
"; - -echo resultBlock($errors,$successes); +
User registration
"; echo " -
+

@@ -122,23 +110,26 @@ echo "

+

+

-
-
-
-
- -"; +
"; + +finishPage(); ?>