Skip to content

Commit a33f36e

Browse files
committed
remove constructor from examples controller with auto login
1 parent 550790b commit a33f36e

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

src/Cmgmyr/Messenger/examples/MessagesController.php

-10
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,6 @@
1414

1515
class MessagesController extends Controller
1616
{
17-
/**
18-
* Just for testing - the user should be logged in. In a real
19-
* app, please use standard authentication practices.
20-
*/
21-
public function __construct()
22-
{
23-
$user = User::find(1);
24-
Auth::login($user);
25-
}
26-
2717
/**
2818
* Show all of the message threads to the user.
2919
*

0 commit comments

Comments
 (0)