Projekt

Obecné

Profil

Stáhnout (1008 Bajtů) Statistiky
| Větev: | Tag: | Revize:
1
<?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::CATEGORIES;
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
}
(3-3/6)