Fakultas Ilmu Komputer UI

Verified Commit 48ed1330 authored by Giovan Isa Musthofa's avatar Giovan Isa Musthofa
Browse files

[CHORES] Hide password on RegisterFullSerializer

parent f11b5fb4
Pipeline #38421 passed with stages
in 10 minutes and 36 seconds
......@@ -111,7 +111,10 @@ class RegistrationFullSerializer(RegistrationSerializer):
fields = ['email', 'password', 'first_name', 'profile']
extra_kwargs = {
'password': {
'write_only': True
'write_only': True,
'style': {
'input_type': 'password'
},
},
'first_name': {
'required': True
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment