Title: [opsview] [9828] require authentication for nagvis
- Revision
- 9828
- Author
- aburzynski
- Date
- 2012-08-14 13:06:14 +0100 (Tue, 14 Aug 2012)
Log Message
require authentication for nagvis
Modified Paths
Modified: trunk/opsview-web/lib/Opsview/Web/Controller/Nagvis.pm
===================================================================
--- trunk/opsview-web/lib/Opsview/Web/Controller/Nagvis.pm 2012-08-13 21:23:02 UTC (rev 9827)
+++ trunk/opsview-web/lib/Opsview/Web/Controller/Nagvis.pm 2012-08-14 12:06:14 UTC (rev 9828)
@@ -25,6 +25,12 @@
use base qw/Catalyst::Controller/;
+sub auto : Private {
+ my ( $self, $c, $id ) = @_;
+
+ return $c->forward( '/authenticate' );
+}
+
sub index : Path('/modules/nagvis') {
my ( $self, $c, @args ) = @_;
_______________________________________________
Opsview-checkins mailing list
[email protected]
http://lists.opsview.org/lists/listinfo/opsview-checkins