Skip to content

Commit a933f4e

Browse files
authored
[1.x] Update two-factor-authentication-form.blade.php (#414)
* Update two-factor-authentication-form.blade.php I had an issue where I couldn't scan the barcode when setting up 2FA. Determined the issue was using darkmode tailwind css styling. The Google authenticator app and VIP Access Authenticator don't pick up the barcode if it has a dark background right up against it. Add a p-4 white background resolved the issue on both apps. Propose adding this white border out of the box to prevent this issue if the user chooses a dark color adjacent to the barcode. * Update two-factor-authentication-form.blade.php
1 parent 25e8974 commit a933f4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stubs/livewire/resources/views/profile/two-factor-authentication-form.blade.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
</p>
3131
</div>
3232

33-
<div class="mt-4">
33+
<div class="mt-4 dark:p-4 dark:w-56 dark:bg-white">
3434
{!! $this->user->twoFactorQrCodeSvg() !!}
3535
</div>
3636
@endif

0 commit comments

Comments
 (0)