Total Complexity | 5 |
Total Lines | 26 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
15 | class CheckPasswordExpire |
||
16 | { |
||
17 | // Routes that are not affected by the password expiring |
||
18 | protected $bypassRoutes = [ |
||
19 | 'password.edit', |
||
20 | 'password.update', |
||
21 | 'logout', |
||
22 | ]; |
||
23 | |||
24 | /** |
||
25 | * Check to see if the users password has expired recently |
||
26 | */ |
||
27 | 196 | public function handle(Request $request, Closure $next) |
|
43 |