mirror of
https://github.com/laravel/laravel.git
synced 2025-02-20 11:53:14 +08:00
Remove middleware interface.
This commit is contained in:
parent
df6fa97d70
commit
caa166f5d6
@ -2,9 +2,8 @@
|
|||||||
|
|
||||||
use Closure;
|
use Closure;
|
||||||
use Illuminate\Contracts\Auth\Guard;
|
use Illuminate\Contracts\Auth\Guard;
|
||||||
use Illuminate\Contracts\Routing\Middleware;
|
|
||||||
|
|
||||||
class Authenticate implements Middleware {
|
class Authenticate {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The Guard implementation.
|
* The Guard implementation.
|
||||||
|
@ -3,9 +3,8 @@
|
|||||||
use Closure;
|
use Closure;
|
||||||
use Illuminate\Contracts\Auth\Guard;
|
use Illuminate\Contracts\Auth\Guard;
|
||||||
use Illuminate\Http\RedirectResponse;
|
use Illuminate\Http\RedirectResponse;
|
||||||
use Illuminate\Contracts\Routing\Middleware;
|
|
||||||
|
|
||||||
class RedirectIfAuthenticated implements Middleware {
|
class RedirectIfAuthenticated {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The Guard implementation.
|
* The Guard implementation.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user