mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
File reformatting.
This commit is contained in:
@@ -1,13 +1,14 @@
|
||||
<?php namespace FireflyIII\Http\Middleware;
|
||||
|
||||
use App;
|
||||
use Auth;
|
||||
use Carbon\Carbon;
|
||||
use Closure;
|
||||
use Config;
|
||||
use Illuminate\Contracts\Auth\Guard;
|
||||
use Illuminate\Http\Request;
|
||||
use Preferences;
|
||||
use Auth;
|
||||
|
||||
/**
|
||||
* Class Authenticate
|
||||
*
|
||||
@@ -55,6 +56,7 @@ class Authenticate
|
||||
|
||||
if (intval($this->auth->user()->blocked) == 1) {
|
||||
Auth::logout();
|
||||
|
||||
return redirect()->route('index');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user