mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-29 18:20:01 +00:00
More code for 5.3
This commit is contained in:
1
app/Http/Controllers/Controller.php
Normal file → Executable file
1
app/Http/Controllers/Controller.php
Normal file → Executable file
@@ -107,5 +107,4 @@ class Controller extends BaseController
|
||||
return $sum;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
@@ -222,4 +222,5 @@ class HomeController extends Controller
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
}
|
||||
|
1
app/Http/Middleware/EncryptCookies.php
Normal file → Executable file
1
app/Http/Middleware/EncryptCookies.php
Normal file → Executable file
@@ -6,7 +6,6 @@
|
||||
* This software may be modified and distributed under the terms
|
||||
* of the MIT license. See the LICENSE file for details.
|
||||
*/
|
||||
|
||||
declare(strict_types = 1);
|
||||
|
||||
namespace FireflyIII\Http\Middleware;
|
||||
|
2
app/Http/Middleware/RedirectIfAuthenticated.php
Normal file → Executable file
2
app/Http/Middleware/RedirectIfAuthenticated.php
Normal file → Executable file
@@ -6,7 +6,6 @@
|
||||
* This software may be modified and distributed under the terms
|
||||
* of the MIT license. See the LICENSE file for details.
|
||||
*/
|
||||
|
||||
declare(strict_types = 1);
|
||||
|
||||
namespace FireflyIII\Http\Middleware;
|
||||
@@ -33,7 +32,6 @@ class RedirectIfAuthenticated
|
||||
public function handle($request, Closure $next, $guard = null)
|
||||
{
|
||||
if (Auth::guard($guard)->check()) {
|
||||
|
||||
return redirect('/');
|
||||
}
|
||||
|
||||
|
2
app/Http/Middleware/VerifyCsrfToken.php
Normal file → Executable file
2
app/Http/Middleware/VerifyCsrfToken.php
Normal file → Executable file
@@ -6,8 +6,8 @@
|
||||
* This software may be modified and distributed under the terms
|
||||
* of the MIT license. See the LICENSE file for details.
|
||||
*/
|
||||
|
||||
declare(strict_types = 1);
|
||||
|
||||
namespace FireflyIII\Http\Middleware;
|
||||
|
||||
use Illuminate\Foundation\Http\Middleware\VerifyCsrfToken as BaseVerifier;
|
||||
|
Reference in New Issue
Block a user