diff --git a/resources/views/two-factor.blade.php b/resources/views/two-factor.blade.php index 1d1044d..09735ee 100644 --- a/resources/views/two-factor.blade.php +++ b/resources/views/two-factor.blade.php @@ -40,68 +40,66 @@ @if ($this->showTwoFactor())
-
-
- @if ($this->showQrCode) -
-
- @unless ($showingQrCode) -
- {!! __('Two-Factor Authentication enabled') !!} -
- @else -
- {!! __('Or scan the QR code with your authenticator app') !!}. -
-
-
- {!! $user->twoFactorQrCodeSvg() !!} -
+
+ @if ($this->showQrCode) +
+
+ @unless ($showingQrCode) +
+ {!! __('Two-Factor Authentication enabled') !!} +
+ @else +
+ {!! __('Or scan the QR code with your authenticator app') !!}. +
+
+
+ {!! $user->twoFactorQrCodeSvg() !!}
-
-

- {!! __('The secret key to setup the authenticator app is') !!}:
- {{ decrypt($user->two_factor_secret) }} -

- @endunless -
+
+
+

+ {!! __('The secret key to setup the authenticator app is') !!}:
+ {{ decrypt($user->two_factor_secret) }} +

+ @endunless
- @endif +
+ @endif - @if ($showingRecoveryCodes) -
- {!! __( - 'Save these recovery codes in a secure place as they can be used to recover access to your account if you lose your device', - ) !!}. -
-
- @foreach ((array) $user->recoveryCodes() as $index => $code) -

{{ $code }}

- @endforeach -
+ @if ($showingRecoveryCodes) +
+ {!! __( + 'Save these recovery codes in a secure place as they can be used to recover access to your account if you lose your device', + ) !!}. +
+
+ @foreach ((array) $user->recoveryCodes() as $index => $code) +

{{ $code }}

+ @endforeach
- @endif +
+ @endif - @if ($showingConfirmation) -
- {{ $this->otpCodeForm }} -
- @endif + @if ($showingConfirmation) +
+ {{ $this->otpCodeForm }} +
+ @endif -
- @if (!$showingRecoveryCodes && !$user->two_factor_confirmed_at) - {{ $this->disableAction() }} - @endif +
+ @if (!$showingRecoveryCodes && !$user->two_factor_confirmed_at) + {{ $this->disableAction() }} + @endif - @if ($showingRecoveryCodes) - {{ $this->downloadAction() }} - {{ $this->regenerateAction() }} - @elseif ($showingConfirmation) - {{ $this->confirmAction() }} - @endif -
+ @if ($showingRecoveryCodes) + {{ $this->downloadAction() }} + {{ $this->regenerateAction() }} + @elseif ($showingConfirmation) + {{ $this->confirmAction() }} + @endif