git://git.onelab.eu
/
plewww.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
make the site registration page more picky, and refuse numeric-only inputs
[plewww.git]
/
planetlab
/
sites
/
register.php
diff --git
a/planetlab/sites/register.php
b/planetlab/sites/register.php
index
ef332bd
..
f9ed091
100644
(file)
--- a/
planetlab/sites/register.php
+++ b/
planetlab/sites/register.php
@@
-41,6
+41,7
@@
function non_empty_address ($address) {
if (! $empty_form ) {
// Look for missing/blank entries
$error = form_check_required ($site_form, $input);
+ $error .= form_check_non_numeric($site_form, $input);
$messages= array();
$verboses= array();