Skip to content

Commit

Permalink
Use strip_username correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
jrouzierinverse committed Feb 13, 2025
1 parent 060f902 commit 0f22373
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ sub index : Path : Args(1) {
my ( $self, $c, $mac ) = @_;
my $node = node_view($mac);
my $owner = lc($node->{pid});
my $stripped_owner = strip_username($owner);
my ($stripped_owner, undef) = strip_username($owner);
my $username = lc($c->user_session->{username});
my $stripped_username = strip_username($username);
my ($stripped_username, undef) = strip_username($username);

$c->stash(
mac => $mac,
Expand Down

0 comments on commit 0f22373

Please sign in to comment.