CI fixes
This commit is contained in:
committed by
Max Kovalenko
parent
6086a275bf
commit
bb2ab92d22
@@ -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()
|
||||
{
|
||||
|
||||
@@ -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()
|
||||
{
|
||||
|
||||
@@ -69,7 +69,7 @@
|
||||
|
||||
$qrcode_image = base64_encode($writer->writeString($google2fa_url));
|
||||
?>
|
||||
<img src="data:image/png;base64, {{ $qrcode_image }}" class="img-responsive"/>
|
||||
<img src="data:image/png;base64, {{ $qrcode_image }}" alt="qr code" class="img-responsive"/>
|
||||
<span class='help-block'>{!! trans('forms.user.2fa.help') !!}</span>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
Reference in New Issue
Block a user