Skip to content

Commit

Permalink
fix:登录密码无法修改
Browse files Browse the repository at this point in the history
  • Loading branch information
gzydong committed Jan 5, 2025
1 parent 1b81335 commit 02d2144
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 40 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ Lumen IM 是一个网页版即时聊天系统,界面简约、美观、操作
##### 使用技术

- Golang 1.23+
- MySQL 8.0
- MySQL 8.0+
- Redis 5.0+
- Minio1
- Minio

##### 功能介绍

Expand Down
4 changes: 2 additions & 2 deletions api/pb/web/v1/contact.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

69 changes: 34 additions & 35 deletions api/pb/web/v1/user.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api/proto/web/v1/user.proto
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ message UserDetailUpdateResponse{}
// 用户密码更新接口请求参数
message UserPasswordUpdateRequest{
string old_password = 1 [(tagger.tags) = "binding:\"required\""];
string new_password = 2 [(tagger.tags) = "binding:\"required,min=6,max=16\""];
string new_password = 2 [(tagger.tags) = "binding:\"required\""];
}

// 用户密码更新接口响应参数
Expand Down

0 comments on commit 02d2144

Please sign in to comment.