sources/oauth: make secret write_only
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
bbca90c93a
commit
04aae8f584
|
@ -75,6 +75,7 @@ class OAuthSourceSerializer(SourceSerializer):
|
||||||
"callback_url",
|
"callback_url",
|
||||||
"type",
|
"type",
|
||||||
]
|
]
|
||||||
|
extra_kwargs = {"consumer_secret": {"write_only": True}}
|
||||||
|
|
||||||
|
|
||||||
class OAuthSourceViewSet(ModelViewSet):
|
class OAuthSourceViewSet(ModelViewSet):
|
||||||
|
|
Reference in a new issue