Subversion-Projekte lars-tiefland.webanos.marine-sales.de

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
2 lars 1
<?php
2
 
3
return [
4
 
5
    /*
6
     * Enable / disable Google2FA.
7
     */
8
    'enabled' => env('OTP_ENABLED', true),
9
 
10
    /*
11
     * Lifetime in minutes.
12
     *
13
     * In case you need your users to be asked for a new one time passwords from time to time.
14
     */
15
    'lifetime' => env('OTP_LIFETIME', 0), // 0 = eternal
16
 
17
    /*
18
     * Renew lifetime at every new request.
19
     */
20
    'keep_alive' => env('OTP_KEEP_ALIVE', true),
21
 
22
    /*
23
     * Auth container binding.
24
     */
25
    'auth' => 'auth',
26
 
27
    /*
28
     * Guard.
29
     */
30
    'guard' => '',
31
 
32
    /*
33
     * 2FA verified session var.
34
     */
35
    'session_var' => 'google2fa',
36
 
37
    /*
38
     * One Time Password request input name.
39
     */
40
    'otp_input' => 'one_time_password',
41
 
42
    /*
43
     * One Time Password Window.
44
     */
45
    'window' => 1,
46
 
47
    /*
48
     * Forbid user to reuse One Time Passwords.
49
     */
50
    'forbid_old_passwords' => false,
51
 
52
    /*
53
     * User's table column for google2fa secret.
54
     */
55
    'otp_secret_column' => 'google2fa_secret',
56
 
57
    /*
58
     * One Time Password View.
59
     */
60
    'view' => 'google2fa.index',
61
 
62
    /*
63
     * One Time Password error message.
64
     */
65
    'error_messages' => [
66
        'wrong_otp'       => "The 'One Time Password' typed was wrong.",
67
        'cannot_be_empty' => 'One Time Password cannot be empty.',
68
        'unknown'         => 'An unknown error has occurred. Please try again.',
69
    ],
70
 
71
    /*
72
     * Throw exceptions or just fire events?
73
     */
74
    'throw_exceptions' => env('OTP_THROW_EXCEPTION', true),
75
 
76
    /*
77
     * Which image backend to use for generating QR codes?
78
     *
79
     * Supports imagemagick, svg and eps
80
     */
81
    'qrcode_image_backend' => \PragmaRX\Google2FALaravel\Support\Constants::QRCODE_IMAGE_BACKEND_SVG,
82
 
83
];