Skip to content

Commit

Permalink
Fix issue with Laravel 5 module amLoggedAs method. Closes Codeception…
Browse files Browse the repository at this point in the history
  • Loading branch information
janhenkgerritsen authored and Naktibalda committed Feb 13, 2016
1 parent b2bb765 commit 1203940
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Codeception/Module/Laravel5.php
Original file line number Diff line number Diff line change
Expand Up @@ -638,7 +638,7 @@ public function amLoggedAs($user, $driver = null)
}

if ($user instanceof Authenticatable) {
$guard->setUser($user);
$guard->login($user);
return;
}

Expand Down

0 comments on commit 1203940

Please sign in to comment.