diff options
author | Joe Rayhawk <jrayhawk@omgwallhack.org> | 2011-12-30 22:42:23 -0800 |
---|---|---|
committer | Joe Rayhawk <jrayhawk@omgwallhack.org> | 2011-12-30 22:42:23 -0800 |
commit | 372b5f9a390116177870154ddfd3a36d5dcb8d32 (patch) | |
tree | 80c7e7184dcc64b3fbf215f4cd947ee7ed9c2e5c | |
parent | 7e0cccfb334067f98b962a454ae65cd697c23515 (diff) | |
download | piny-code-372b5f9a390116177870154ddfd3a36d5dcb8d32.tar.gz piny-code-372b5f9a390116177870154ddfd3a36d5dcb8d32.zip |
Bringing Ikiwiki Username constraint in line with Reponame constraint (Debian Policy 5.6.1, 5.6.7)
-rw-r--r-- | libpiny/lib/Piny/User/IkiWiki.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libpiny/lib/Piny/User/IkiWiki.pm b/libpiny/lib/Piny/User/IkiWiki.pm index 3838f38..48e77ec 100644 --- a/libpiny/lib/Piny/User/IkiWiki.pm +++ b/libpiny/lib/Piny/User/IkiWiki.pm @@ -18,7 +18,7 @@ extends "Piny::User"; subtype 'IkiWikiUsername' => as 'Str' - => where { $_ =~ /^iki-[a-zA-Z][a-zA-Z0-9_.-]*$/ } + => where { $_ =~ /^iki-[a-zA-Z0-9][a-zA-Z0-9_.-]*$/ } => message { 'That username is not in the correct format for an ikiwiki user.' } ; |