]> ruin.nu Git - ndwebbie.git/blobdiff - lib/NDWeb/Controller/Root.pm
Interface for searching for quotes
[ndwebbie.git] / lib / NDWeb / Controller / Root.pm
index 5faa024d2567b5c72c0c55aa82262dfd69d367ee..787850019a9929d1fb17a2d3fe9d4088ce5dda3e 100644 (file)
@@ -220,6 +220,10 @@ sub end : ActionClass('RenderView') {
                        $c->stash->{template} = 'access_denied.tt2';
                        $c->res->status(403);
                        $c->clear_errors;
+               }elsif ($c->error->[0] =~ m/No logged in user, and none supplied as argument/){
+                       $c->stash->{template} = 'access_denied.tt2';
+                       $c->res->status(403);
+                       $c->clear_errors;
                }
        }