diff options
Diffstat (limited to 'lib/CatDap/Controller/register.pm')
-rw-r--r-- | lib/CatDap/Controller/register.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CatDap/Controller/register.pm b/lib/CatDap/Controller/register.pm index 4920175..1aef176 100644 --- a/lib/CatDap/Controller/register.pm +++ b/lib/CatDap/Controller/register.pm @@ -66,12 +66,12 @@ sub check : Local { push @errors, $c->loc('Username is not authorized to be used'); } - if ($c->request->params->{gn} !~ /^[\p{IsAlnum}'- ]+$/) { + if ($c->request->params->{gn} !~ /^[\p{IsAlnum}'\- ]+$/) { push @errors, $c->loc( 'The first name supplied contains illegal characters' ); } - if ($c->request->params->{sn} !~ /^[\p{IsAlnum}'- ]+$/) { + if ($c->request->params->{sn} !~ /^[\p{IsAlnum}'\- ]+$/) { push @errors, $c->loc( 'The surname supplied contains illegal characters' ); |