mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-22 03:13:12 +00:00
add info for mail aliases export
This commit is contained in:
parent
8e85dc1699
commit
1c8fb84f3c
1 changed files with 2 additions and 2 deletions
|
@ -621,7 +621,7 @@ class WhitelistSerializer(NamespacedHMSerializer):
|
|||
class EMailAddressSerializer(NamespacedHMSerializer):
|
||||
"""Serialize `users.models.EMailAddress` objects.
|
||||
"""
|
||||
|
||||
user = serializers.CharField(source='user.pseudo', read_only=True)
|
||||
class Meta:
|
||||
model = users.EMailAddress
|
||||
fields = ('user', 'local_part', 'complete_email_address', 'api_url')
|
||||
|
@ -657,7 +657,7 @@ class LocalEmailUsersSerializer(NamespacedHMSerializer):
|
|||
class Meta:
|
||||
model = users.User
|
||||
fields = ('local_email_enabled', 'local_email_redirect',
|
||||
'email_address')
|
||||
'email_address', 'email')
|
||||
|
||||
|
||||
#Firewall
|
||||
|
|
Loading…
Reference in a new issue