[#208] Always show port log icon

This commit is contained in:
Oliver Gorwits
2015-03-24 22:20:02 +00:00
parent f069a0ca39
commit ae2daec7e3
6 changed files with 33 additions and 30 deletions

View File

@@ -40,7 +40,7 @@ ajax '/ajax/control/report/portlog/add' => require_login sub {
});
};
ajax '/ajax/content/report/portlog' => require_role port_control => sub {
ajax '/ajax/content/report/portlog' => require_login sub {
my $device = param('q');
my $port = param('f');
send_error('Bad Request', 400) unless $device and $port;