Skip to content
This repository has been archived by the owner on Mar 27, 2022. It is now read-only.

Commit

Permalink
Fixed logout redirect not working properly
Browse files Browse the repository at this point in the history
  • Loading branch information
adifaidz committed Mar 27, 2017
1 parent fd4ee4b commit d2e6da3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Traits/LogoutGuardTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public function logoutToPath()
if (method_exists($this, 'logoutTo')) {
return $this->logoutTo();
}
return property_exists($this, 'logoutTo') ? $this->redirectTo : '/';
return property_exists($this, 'logoutTo') ? $this->logoutTo : '/';
}
/**
* Check if a particular guard is active.
Expand Down

0 comments on commit d2e6da3

Please sign in to comment.