Changeset 7304c7f for app/Http


Ignore:
Timestamp:
09/27/21 23:25:43 (3 years ago)
Author:
beratkjufliju <kufliju@…>
Branches:
develop, master
Children:
582789f
Parents:
2fc88ec
Message:

added user authentication, create & forgot password methods and blades

Location:
app/Http
Files:
13 added
5 edited

Legend:

Unmodified
Added
Removed
  • app/Http/Kernel.php

    r2fc88ec r7304c7f  
    2222        \App\Http\Middleware\TrimStrings::class,
    2323        \Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull::class,
     24        \App\Http\Middleware\CheckForMaintenanceMode::class,
    2425    ];
    2526
     
    6465        'throttle' => \Illuminate\Routing\Middleware\ThrottleRequests::class,
    6566        'verified' => \Illuminate\Auth\Middleware\EnsureEmailIsVerified::class,
     67        'bindings' => \Illuminate\Routing\Middleware\SubstituteBindings::class,
     68        'createPassword' => \App\Http\Middleware\CheckCreatePassword::class,
     69        'checkVerifyNewEmail' => \App\Http\Middleware\CheckVerifyNewEmail::class,
     70        'permission' => \App\Http\Middleware\CheckPermission::class,
     71        'checkIsActive' => \App\Http\Middleware\CheckIsActive::class,
    6672    ];
    6773}
  • app/Http/Middleware/Authenticate.php

    r2fc88ec r7304c7f  
    1616    {
    1717        if (! $request->expectsJson()) {
    18             return route('login');
     18            return route('auth.loginShow');
    1919        }
    2020    }
  • app/Http/Middleware/TrimStrings.php

    r2fc88ec r7304c7f  
    1313     */
    1414    protected $except = [
    15         'current_password',
    1615        'password',
    1716        'password_confirmation',
  • app/Http/Middleware/TrustHosts.php

    r2fc88ec r7304c7f  
    44
    55use Illuminate\Http\Middleware\TrustHosts as Middleware;
     6use Illuminate\Http\Request;
    67
    78class TrustHosts extends Middleware
  • app/Http/Middleware/VerifyCsrfToken.php

    r2fc88ec r7304c7f  
    88{
    99    /**
     10     * Indicates whether the XSRF-TOKEN cookie should be set on the response.
     11     *
     12     * @var bool
     13     */
     14    protected $addHttpCookie = true;
     15
     16    /**
    1017     * The URIs that should be excluded from CSRF verification.
    1118     *
Note: See TracChangeset for help on using the changeset viewer.