Fakultas Ilmu Komputer UI
Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ppl-fasilkom-ui
2020
PPL-C
Diskominfo-D'Blood
Mantan Aab-D Blood
Commits
48ed1330
Verified
Commit
48ed1330
authored
Apr 06, 2020
by
Giovan Isa Musthofa
Browse files
[CHORES] Hide password on RegisterFullSerializer
parent
f11b5fb4
Pipeline
#38421
passed with stages
in 10 minutes and 36 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
backend/main/serializers.py
View file @
48ed1330
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment