From 4ac0fd01b73a0b718db3a756866fee121a1615f1 Mon Sep 17 00:00:00 2001 From: Joe Rayhawk Date: Sun, 24 Apr 2011 12:57:38 -0700 Subject: Switching ikiwiki- username/group over to iki-; untested and requires a mass rebuildrepo --- libpiny/lib/Piny/User/IkiWiki.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libpiny/lib/Piny/User') diff --git a/libpiny/lib/Piny/User/IkiWiki.pm b/libpiny/lib/Piny/User/IkiWiki.pm index 8585e90..3838f38 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 { $_ =~ /^ikiwiki-[a-zA-Z][a-zA-Z0-9_.-]*$/ } + => where { $_ =~ /^iki-[a-zA-Z][a-zA-Z0-9_.-]*$/ } => message { 'That username is not in the correct format for an ikiwiki user.' } ; -- cgit v1.2.3