Skip to content

Commit

Permalink
[#2671] fix QR code appearance in dark mode
Browse files Browse the repository at this point in the history
  • Loading branch information
pi-sigma committed Feb 13, 2023
1 parent d9a2c7a commit a57cc85
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
build:

name: Python ${{ matrix.python-version }}, Django ${{ matrix.django-version }} (${{ matrix.variant }})
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
continue-on-error: ${{ matrix.experimental == 'true' }}
strategy:
matrix:
Expand Down Expand Up @@ -97,4 +97,4 @@ jobs:
uses: pypa/gh-action-pypi-publish@v1.4.1
with:
user: __token__
password: ${{ secrets.PYPI_TOKEN }}
password: ${{ secrets.PYPI_TOKEN }}
2 changes: 1 addition & 1 deletion two_factor/templates/two_factor/admin/setup.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
smartphone to scan the QR code below. For example, use Google
Authenticator. Then, enter the token generated by the app.
{% endblocktrans %}</p>
<p><img class="centered-image" src="{{ QR_URL }}" alt="QR Code" /></p>
<p><img class="centered-image" style="background-color: white" src="{{ QR_URL }}" alt="QR Code" /></p>
{% elif wizard.steps.current == 'sms' %}
<p>{% blocktrans trimmed %}Please enter the phone number you wish to receive the
text messages on. This number will be validated in the next step.
Expand Down

0 comments on commit a57cc85

Please sign in to comment.