Subversion-Projekte lars-tiefland.webanos.faltradxxs.de

Revision

Revision 14 | Zur aktuellen Revision | Ganze Datei anzeigen | Leerzeichen ignorieren | Details | Blame | Letzte Änderung | Log anzeigen | RSS feed

Revision 14 Revision 17
Zeile 1... Zeile 1...
1
<?php
1
<?php
Zeile 2... Zeile 2...
2
 
2
 
Zeile 3... Zeile 3...
3
return [
3
    return [
4
 
4
 
5
    /*
5
        /*
6
    |--------------------------------------------------------------------------
6
        |--------------------------------------------------------------------------
7
    | Authentication Defaults
7
        | Authentication Defaults
8
    |--------------------------------------------------------------------------
8
        |--------------------------------------------------------------------------
9
    |
9
        |
10
    | This option controls the default authentication "guard" and password
10
        | This option controls the default authentication "guard" and password
11
    | reset options for your application. You may change these defaults
11
        | reset options for your application. You may change these defaults
12
    | as required, but they're a perfect start for most applications.
12
        | as required, but they're a perfect start for most applications.
13
    |
13
        |
14
    */
14
        */
15
 
15
 
16
    'defaults' => [
16
        'defaults' => [
17
        'guard' => 'web',
-
 
18
        'passwords' => 'users',
-
 
19
    ],
-
 
20
 
-
 
21
    /*
-
 
22
    |--------------------------------------------------------------------------
-
 
23
    | Authentication Guards
-
 
24
    |--------------------------------------------------------------------------
-
 
25
    |
-
 
26
    | Next, you may define every authentication guard for your application.
-
 
27
    | Of course, a great default configuration has been defined for you
-
 
28
    | here which uses session storage and the Eloquent user provider.
-
 
29
    |
-
 
30
    | All authentication drivers have a user provider. This defines how the
-
 
31
    | users are actually retrieved out of your database or other storage
-
 
32
    | mechanisms used by this application to persist your user's data.
-
 
33
    |
-
 
34
    | Supported: "session"
-
 
35
    |
-
 
36
    */
-
 
37
 
-
 
38
    'guards' => [
-
 
39
        'web' => [
-
 
40
            'driver' => 'session',
17
            'guard'     => 'web',
41
            'provider' => 'users',
-
 
Zeile 42... Zeile 18...
42
        ],
18
            'passwords' => 'users',
43
    ],
19
        ],
44
 
20
 
45
    /*
21
        /*
46
    |--------------------------------------------------------------------------
22
        |--------------------------------------------------------------------------
47
    | User Providers
23
        | Authentication Guards
48
    |--------------------------------------------------------------------------
24
        |--------------------------------------------------------------------------
49
    |
25
        |
50
    | All authentication drivers have a user provider. This defines how the
26
        | Next, you may define every authentication guard for your application.
51
    | users are actually retrieved out of your database or other storage
27
        | Of course, a great default configuration has been defined for you
52
    | mechanisms used by this application to persist your user's data.
28
        | here which uses session storage and the Eloquent user provider.
53
    |
29
        |
54
    | If you have multiple user tables or models you may configure multiple
30
        | All authentication drivers have a user provider. This defines how the
55
    | sources which represent each model / table. These sources may then
31
        | users are actually retrieved out of your database or other storage
56
    | be assigned to any extra authentication guards you have defined.
32
        | mechanisms used by this application to persist your user's data.
57
    |
33
        |
58
    | Supported: "database", "eloquent"
34
        | Supported: "session"
59
    |
35
        |
60
    */
36
        */
-
 
37
 
61
 
38
        'guards' => [
-
 
39
            'web' => [
62
    'providers' => [
40
                'driver'   => 'session',
63
        'users' => [
-
 
Zeile 64... Zeile 41...
64
            'model' => App\Models\BackendUser::class,
41
                'provider' => 'users',
65
        ],
42
            ],
66
    ],
43
        ],
67
 
44
 
68
    /*
45
        /*
69
    |--------------------------------------------------------------------------
46
        |--------------------------------------------------------------------------
70
    | Resetting Passwords
47
        | User Providers
71
    |--------------------------------------------------------------------------
48
        |--------------------------------------------------------------------------
72
    |
49
        |
73
    | You may specify multiple password reset configurations if you have more
50
        | All authentication drivers have a user provider. This defines how the
74
    | than one user table or model in the application and you want to have
51
        | users are actually retrieved out of your database or other storage
75
    | separate password reset settings based on the specific user types.
52
        | mechanisms used by this application to persist your user's data.
-
 
53
        |
-
 
54
        | If you have multiple user tables or models you may configure multiple
76
    |
55
        | sources which represent each model / table. These sources may then
77
    | The expire time is the number of minutes that each reset token will be
56
        | be assigned to any extra authentication guards you have defined.
78
    | considered valid. This security feature keeps tokens short-lived so
57
        |
79
    | they have less time to be guessed. You may change this as needed.
58
        | Supported: "database", "eloquent"
80
    |
59
        |
81
    */
60
        */
82
 
61
 
83
    'passwords' => [
62
        'providers' => [
84
        'users' => [
-
 
85
            'provider' => 'users',
63
            'users' => [
86
            'table' => 'password_resets',
-
 
Zeile 87... Zeile 64...
87
            'expire' => 60,
64
                "provider" => "eloquent",
-
 
65
                'model'    => App\Models\BackendUser::class,
-
 
66
            ],
-
 
67
        ],
-
 
68
 
-
 
69
        /*
-
 
70
        |--------------------------------------------------------------------------
-
 
71
        | Resetting Passwords
-
 
72
        |--------------------------------------------------------------------------
-
 
73
        |
-
 
74
        | You may specify multiple password reset configurations if you have more
-
 
75
        | than one user table or model in the application and you want to have
-
 
76
        | separate password reset settings based on the specific user types.
-
 
77
        |
-
 
78
        | The expire time is the number of minutes that each reset token will be
-
 
79
        | considered valid. This security feature keeps tokens short-lived so
-
 
80
        | they have less time to be guessed. You may change this as needed.
-
 
81
        |
-
 
82
        */
-
 
83
 
-
 
84
        'passwords' => [
-
 
85
            'users' => [
-
 
86
                'provider' => 'users',
-
 
87
                'table'    => 'password_resets',
-
 
88
                'expire'   => 60,
88
            'throttle' => 60,
89
                'throttle' => 60,
89
        ],
90
            ],
90
    ],
91
        ],
91
 
92
 
92
    /*
93
        /*
93
    |--------------------------------------------------------------------------
94
        |--------------------------------------------------------------------------
94
    | Password Confirmation Timeout
95
        | Password Confirmation Timeout
95
    |--------------------------------------------------------------------------
96
        |--------------------------------------------------------------------------
96
    |
97
        |
Zeile 97... Zeile 98...
97
    | Here you may define the amount of seconds before a password confirmation
98
        | Here you may define the amount of seconds before a password confirmation
Zeile 98... Zeile 99...
98
    | times out and the user is prompted to re-enter their password via the
99
        | times out and the user is prompted to re-enter their password via the