Skip to content

Commit d5b1b92

Browse files
committed
Merge pull request #84 from CodepadME/revert-82-patch-2
Revert "Show the login form only for guest users"
2 parents fdd418e + c0efb68 commit d5b1b92

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

app/Controllers/AuthController.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,7 @@ public function __construct(UserRepositoryInterface $users)
3838
*/
3939
public function getLogin()
4040
{
41-
if (Auth::guest()) {
42-
return $this->view('home.login');
43-
}
44-
return $this->redirectIntended(route('user.index'));
41+
$this->view('home.login');
4542
}
4643

4744
/**

0 commit comments

Comments
 (0)