Skip to content

Commit 1703923

Browse files
committed
refactor: update default password configuration key to uppercase in user.py
1 parent a43bde9 commit 1703923

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/users/views/user.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
from users.serializers.user import UserProfileSerializer, UserManageSerializer, CheckCodeSerializer, \
3131
SendEmailSerializer, RePasswordSerializer, SwitchLanguageSerializer
3232

33-
default_password = CONFIG.get('default_password', 'MaxKB@123..')
33+
default_password = CONFIG.get('DEFAULT_PASSWORD', 'MaxKB@123..')
3434

3535

3636
def get_user_operation_object(user_id):

0 commit comments

Comments
 (0)