Commit 1e7e1439 authored by Francesc Guasch's avatar Francesc Guasch
Browse files

refactor(frontend): best practice on return

parent 688f5d24
......@@ -3451,7 +3451,7 @@ sub _get_anonymous_user {
sub _anonymous_user {
my $c = shift;
return undef if (access_denied_if_no_anonymous_bases($c));
return if (access_denied_if_no_anonymous_bases($c));
$c->stash(_user => undef);
my $name = $c->session('anonymous_user');
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment