]> iEval git - gruntmaster-page.git/blobdiff - app.psgi
Add submit
[gruntmaster-page.git] / app.psgi
index f13ef8e323be37574355c32643612b21cd27bb6e..50ec1a901bc280bc680d76252918a7fda4571f57 100644 (file)
--- a/app.psgi
+++ b/app.psgi
@@ -8,7 +8,8 @@ use Plack::Request;
 
 sub some_auth_required {
        my $r = Plack::Request->new($_[0]);
-       return 1 if $r->path eq '/action/passwd';
+       my $word = qr,(\w+),a;
+       return 1 if $r->path eq '/action/passwd' || $r->path =~ m,/pb/$word/submit$,;
        0
 }
 
This page took 0.023899 seconds and 4 git commands to generate.