Apply php-cs-fixer changes
This commit is contained in:
parent
cec96062e3
commit
436e686037
72 changed files with 91 additions and 196 deletions
|
@ -3,8 +3,8 @@
|
|||
namespace Pterodactyl\Http\Controllers\Auth;
|
||||
|
||||
use Exception;
|
||||
use Pterodactyl\Models\User;
|
||||
use Illuminate\Http\Request;
|
||||
use Pterodactyl\Models\User;
|
||||
use Illuminate\Auth\AuthManager;
|
||||
use Illuminate\Http\JsonResponse;
|
||||
use LaravelWebauthn\Facades\Webauthn;
|
||||
|
@ -36,6 +36,7 @@ class WebauthnController extends AbstractLoginController
|
|||
{
|
||||
if ($this->hasTooManyLoginAttempts($request)) {
|
||||
$this->sendLockoutResponse($request);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -51,6 +52,7 @@ class WebauthnController extends AbstractLoginController
|
|||
null,
|
||||
'The authentication token provided has expired, please refresh the page and try again.'
|
||||
);
|
||||
|
||||
return;
|
||||
}
|
||||
$this->auth->guard()->onceUsingId($user->id);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue