Skip to content

Commit

Permalink
Merge pull request #84 from CodepadME/revert-82-patch-2
Browse files Browse the repository at this point in the history
Revert "Show the login form only for guest users"
  • Loading branch information
msurguy committed Jan 29, 2015
2 parents fdd418e + c0efb68 commit d5b1b92
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions app/Controllers/AuthController.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,7 @@ public function __construct(UserRepositoryInterface $users)
*/
public function getLogin()
{
if (Auth::guest()) {
return $this->view('home.login');
}
return $this->redirectIntended(route('user.index'));
$this->view('home.login');
}

/**
Expand Down

0 comments on commit d5b1b92

Please sign in to comment.