mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
refactor: update default password configuration key to uppercase in user.py
This commit is contained in:
parent
a43bde9a01
commit
1703923f58
|
|
@ -30,7 +30,7 @@ from users.models import User
|
|||
from users.serializers.user import UserProfileSerializer, UserManageSerializer, CheckCodeSerializer, \
|
||||
SendEmailSerializer, RePasswordSerializer, SwitchLanguageSerializer
|
||||
|
||||
default_password = CONFIG.get('default_password', 'MaxKB@123..')
|
||||
default_password = CONFIG.get('DEFAULT_PASSWORD', 'MaxKB@123..')
|
||||
|
||||
|
||||
def get_user_operation_object(user_id):
|
||||
|
|
|
|||
Loading…
Reference in New Issue