Projekt

Obecné

Profil

Stáhnout (1002 Bajtů) Statistiky
| Větev: | Tag: | Revize:
1 21570473 Adam Mištera
<?php
2
3
namespace App\Http\Controllers\Auth;
4
5
use App\Http\Controllers\Controller;
6
use App\Providers\RouteServiceProvider;
7
use Illuminate\Foundation\Auth\AuthenticatesUsers;
8
9
class LoginController extends Controller
10
{
11
    /*
12
    |--------------------------------------------------------------------------
13
    | Login Controller
14
    |--------------------------------------------------------------------------
15
    |
16
    | This controller handles authenticating users for the application and
17
    | redirecting them to your home screen. The controller uses a trait
18
    | to conveniently provide its functionality to your applications.
19
    |
20
    */
21
22
    use AuthenticatesUsers;
23
24
    /**
25
     * Where to redirect users after login.
26
     *
27
     * @var string
28
     */
29
    protected $redirectTo = RouteServiceProvider::HOME;
30
31
    /**
32
     * Create a new controller instance.
33
     *
34
     * @return void
35
     */
36
    public function __construct()
37
    {
38
        $this->middleware('guest')->except('logout');
39
    }
40
}