Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Re-attempt to fix e2eaa8d.
  • Loading branch information
oalders committed Nov 19, 2016
1 parent f7db50f commit d743f81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/MetaCPAN/Web/Controller/Account/Favorite.pm
Expand Up @@ -13,7 +13,7 @@ sub auto : Private {
# but sometimes we do. Might have been an issue with the v0 => v1
# migration.

$c->detach('/forbidden') unless $user;
$c->detach('/forbidden') unless $user && $user->{user};

$c->stash->{user} = $user;

Expand Down

0 comments on commit d743f81

Please sign in to comment.