Skip to content

Commit

Permalink
Merge pull request #341 from girder/revert-middleware
Browse files Browse the repository at this point in the history
Revert middleware change.
  • Loading branch information
manthey authored Sep 18, 2023
2 parents a4c63be + 3c75aed commit 21431e9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ jobs:
DJANGO_SUPERUSER_EMAIL: admin@noemail.com
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: "3.8"
- name: Install tox
Expand Down Expand Up @@ -48,9 +48,9 @@ jobs:
DJANGO_SUPERUSER_EMAIL: admin@noemail.com
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: "3.8"
- name: Install tox
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
'celery',
'django<4.0',
'django-admin-display',
'django-allauth',
'django-allauth<0.56',
'django-configurations[database,email]',
'django-extensions',
'django-filter',
Expand Down
2 changes: 0 additions & 2 deletions shapeworks_cloud/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,6 @@ def before_binding(configuration: ComposedConfiguration) -> None:
's3_file_field',
]

configuration.MIDDLEWARE += ['allauth.account.middleware.AccountMiddleware']

configuration.REST_FRAMEWORK['DEFAULT_AUTHENTICATION_CLASSES'] += [
'rest_framework.authentication.TokenAuthentication',
]
Expand Down

0 comments on commit 21431e9

Please sign in to comment.