Skip to content

Commit

Permalink
apps/users: only allow university login
Browse files Browse the repository at this point in the history
  • Loading branch information
m4ra committed Jun 28, 2024
1 parent e376828 commit fd46869
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 1 addition & 2 deletions adhocracy-plus/config/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,9 +132,8 @@
"djangosaml2.middleware.SamlSessionMiddleware",
"django.contrib.auth.middleware.AuthenticationMiddleware",
"django.contrib.messages.middleware.MessageMiddleware",
"allauth.account.middleware.AccountMiddleware",
"wagtail.contrib.redirects.middleware.RedirectMiddleware",
"wagtail.contrib.redirects.middleware.RedirectMiddleware",
"allauth.account.middleware.AccountMiddleware",
"apps.djangosaml2_overwrites.middlewares.SamlSignupMiddleware",
)

Expand Down
3 changes: 3 additions & 0 deletions changelog/7725.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
### Added

- a check for user registration in settings

0 comments on commit fd46869

Please sign in to comment.