MCPcopy Create free account
hub / github.com/CoderOpen/waimai / LoginController

Class LoginController

app/Http/Controllers/Auth/LoginController.php:8–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6use Illuminate\Foundation\Auth\AuthenticatesUsers;
7
8class LoginController extends Controller
9{
10 /*
11 |--------------------------------------------------------------------------
12 | Login Controller
13 |--------------------------------------------------------------------------
14 |
15 | This controller handles authenticating users for the application and
16 | redirecting them to your home screen. The controller uses a trait
17 | to conveniently provide its functionality to your applications.
18 |
19 */
20
21 use AuthenticatesUsers;
22
23 /**
24 * Where to redirect users after login.
25 *
26 * @var string
27 */
28 protected $redirectTo = '/home';
29
30 /**
31 * Create a new controller instance.
32 *
33 * @return void
34 */
35 public function __construct()
36 {
37 $this->middleware('guest')->except('logout');
38 }
39}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected