]> ruin.nu Git - ndwebbie.git/blobdiff - lib/NDWeb.pm
Fix access to sms page
[ndwebbie.git] / lib / NDWeb.pm
index 63708aaa847df6a96dc7afbad1983d8ab373b5cb..0644df8f0ae609b103cabaf87297b5fe3366d772 100644 (file)
@@ -18,7 +18,6 @@ use Catalyst qw/
        -Debug
        ConfigLoader
        Static::Simple
-       Unicode::Encoding
 
        Authentication
        Authentication::Store::NDWeb
@@ -89,6 +88,7 @@ __PACKAGE__->config( encoding => 'UTF-8');
 __PACKAGE__->setup();
 
 __PACKAGE__->deny_access_unless('/users',[qw/admin_users/]);
+__PACKAGE__->allow_access_if('/users/sms',[qw/users_sms/]);
 __PACKAGE__->deny_access_unless('/alliances',[qw/alliances/]);
 __PACKAGE__->deny_access_unless('/alliances/resources',[qw/alliances_resources/]);
 __PACKAGE__->deny_access_unless('/graphs/alliancevsintel',[qw/graphs_intel/]);