Apply fixes from StyleCI (#269)

This commit is contained in:
Dane Everitt 2017-01-23 17:11:25 -05:00 committed by GitHub
parent 06232b84c2
commit b9512dccb8

View file

@ -29,8 +29,8 @@ use Log;
use Alert; use Alert;
use Illuminate\Http\Request; use Illuminate\Http\Request;
use Pterodactyl\Models\User; use Pterodactyl\Models\User;
use Pterodactyl\Repositories\UserRepository;
use Pterodactyl\Http\Controllers\Controller; use Pterodactyl\Http\Controllers\Controller;
use Pterodactyl\Repositories\UserRepository;
use Pterodactyl\Exceptions\DisplayValidationException; use Pterodactyl\Exceptions\DisplayValidationException;
class AccountController extends Controller class AccountController extends Controller
@ -83,6 +83,7 @@ class AccountController extends Controller
&& ! password_verify($request->input('password'), $request->user()->password) && ! password_verify($request->input('password'), $request->user()->password)
) { ) {
Alert::danger(trans('base.account.invalid_pass'))->flash(); Alert::danger(trans('base.account.invalid_pass'))->flash();
return redirect()->route('account'); return redirect()->route('account');
} }