fix(auth):删除日志中打印的密码信息
This commit is contained in:
1 parent
ab3198d362
commit
3ebd604d89
1 file changed
-3
@@ -25,9 +25,6 @@ import (
|
||||
|
||||
// Register handles tenant registration.
|
||||
func (s *sTenant) Register(ctx context.Context, req *v1.TenantRegisterReq) (*v1.TenantRegisterRes, error) {
|
||||
g.Log().Infof(ctx, "[Register] raw body: %s", g.RequestFromCtx(ctx).GetBodyString())
|
||||
g.Log().Infof(ctx, "[Register] parsed req: %+v", req)
|
||||
|
||||
// Check if registration is enabled
|
||||
if !common.Config().GetBool(ctx, "register_enabled") {
|
||||
return nil, common.NewBusinessError(consts.CodeRegistrationDisabled, consts.MsgRegistrationDisabled)
|
||||
|
||||
Reference in new issue
Block a user