Skip to content

Commit

Permalink
fix(bklogin): local user auth wrong (#1393)
Browse files Browse the repository at this point in the history
  • Loading branch information
nannan00 authored Nov 15, 2023
1 parent 4b4388a commit 6156a05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bk-user/bkuser/apis/login/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class LocalUserCredentialAuthenticateInputSLZ(serializers.Serializer):

class LocalUserCredentialAuthenticateOutputSLZ(serializers.Serializer):
data_source_id = serializers.IntegerField(help_text="数据源ID")
id = serializers.IntegerField(help_text="用户ID")
id = serializers.IntegerField(help_text="用户 ID", source="user_id")
username = serializers.CharField(help_text="用户名")


Expand Down

0 comments on commit 6156a05

Please sign in to comment.