From bb2ab92d22c573e402cd1308ba8346a5a6240217 Mon Sep 17 00:00:00 2001 From: Max Kovalenko Date: Fri, 24 May 2019 20:28:41 +0300 Subject: [PATCH] CI fixes --- app/Http/Controllers/AuthController.php | 3 ++- app/Http/Controllers/Dashboard/UserController.php | 3 ++- resources/views/dashboard/user/index.blade.php | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/app/Http/Controllers/AuthController.php b/app/Http/Controllers/AuthController.php index 8da6b508..597b9b51 100644 --- a/app/Http/Controllers/AuthController.php +++ b/app/Http/Controllers/AuthController.php @@ -89,10 +89,11 @@ class AuthController extends Controller * * This feels very hacky, but we have to juggle authentication and codes. * - * @return \Illuminate\Http\RedirectResponse * @throws \PragmaRX\Google2FA\Exceptions\IncompatibleWithGoogleAuthenticatorException * @throws \PragmaRX\Google2FA\Exceptions\InvalidCharactersException * @throws \PragmaRX\Google2FA\Exceptions\SecretKeyTooShortException + * + * @return \Illuminate\Http\RedirectResponse */ public function postTwoFactor() { diff --git a/app/Http/Controllers/Dashboard/UserController.php b/app/Http/Controllers/Dashboard/UserController.php index 76dc642b..ba01e862 100644 --- a/app/Http/Controllers/Dashboard/UserController.php +++ b/app/Http/Controllers/Dashboard/UserController.php @@ -39,9 +39,10 @@ class UserController extends Controller /** * Updates the current user. * - * @return \Illuminate\View\View * @throws \PragmaRX\Google2FA\Exceptions\IncompatibleWithGoogleAuthenticatorException * @throws \PragmaRX\Google2FA\Exceptions\InvalidCharactersException + * + * @return \Illuminate\View\View */ public function postUser() { diff --git a/resources/views/dashboard/user/index.blade.php b/resources/views/dashboard/user/index.blade.php index 9cc5d028..17ddf6c9 100644 --- a/resources/views/dashboard/user/index.blade.php +++ b/resources/views/dashboard/user/index.blade.php @@ -69,7 +69,7 @@ $qrcode_image = base64_encode($writer->writeString($google2fa_url)); ?> - + qr code {!! trans('forms.user.2fa.help') !!} @endif