mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-16 00:13:12 +00:00
Add missing case for STATE_EMAIL_NOT_YET_CONFIRMED state in API
This commit is contained in:
parent
f8dfb072eb
commit
98cbf79b01
1 changed files with 1 additions and 0 deletions
|
@ -513,6 +513,7 @@ class HomeCreationViewSet(viewsets.ReadOnlyModelViewSet):
|
||||||
queryset = users.User.objects.exclude(
|
queryset = users.User.objects.exclude(
|
||||||
Q(state=users.User.STATE_DISABLED)
|
Q(state=users.User.STATE_DISABLED)
|
||||||
| Q(state=users.User.STATE_NOT_YET_ACTIVE)
|
| Q(state=users.User.STATE_NOT_YET_ACTIVE)
|
||||||
|
| Q(state=users.STATE_EMAIL_NOT_YET_CONFIRMED)
|
||||||
| Q(state=users.User.STATE_FULL_ARCHIVE)
|
| Q(state=users.User.STATE_FULL_ARCHIVE)
|
||||||
)
|
)
|
||||||
serializer_class = serializers.BasicUserSerializer
|
serializer_class = serializers.BasicUserSerializer
|
||||||
|
|
Loading…
Reference in a new issue