mirror of https://github.com/BOINC/boinc.git
added some checks for email and password entry
svn path=/trunk/boinc/; revision=343
This commit is contained in:
parent
51366510a6
commit
d6f708dfab
|
@ -36,7 +36,21 @@
|
||||||
$user = mysql_fetch_object($result);
|
$user = mysql_fetch_object($result);
|
||||||
mysql_free_result($result);
|
mysql_free_result($result);
|
||||||
}
|
}
|
||||||
if ($user) {
|
if (strlen($HTTP_POST_VARS["new"]) == 0) {
|
||||||
|
page_head("Creating Account");
|
||||||
|
printf(
|
||||||
|
TABLE2."\n"
|
||||||
|
."<tr><td>You must enter an email address to create an account.\n"
|
||||||
|
."</td></tr>\n"
|
||||||
|
."</table>"
|
||||||
|
);
|
||||||
|
} else if (strlen($HTTP_POST_VARS["new_password"]) == 0) {
|
||||||
|
page_head("Creating Account");
|
||||||
|
printf(
|
||||||
|
TABLE2."\n"
|
||||||
|
."<tr><td>You must enter a web password to create an account.\n"
|
||||||
|
);
|
||||||
|
} else if ($user) {
|
||||||
page_head("Creating Account");
|
page_head("Creating Account");
|
||||||
printf(
|
printf(
|
||||||
TABLE2."\n"
|
TABLE2."\n"
|
||||||
|
|
Loading…
Reference in New Issue