mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-24 16:03:43 +08:00
Merge pull request #3873 from ioito/bugfix/qx-dbinstance-reset-password
fix: 修复rds重置密码未正确接收参数问题
This commit is contained in:
@@ -403,7 +403,7 @@ func (self *SDBInstanceAccount) PerformResetPassword(ctx context.Context, userCr
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
passwdStr, _ := query.GetString("password")
|
||||
passwdStr, _ := data.GetString("password")
|
||||
if len(passwdStr) > 0 {
|
||||
if !seclib2.MeetComplxity(passwdStr) {
|
||||
return nil, httperrors.NewWeakPasswordError()
|
||||
|
||||
Reference in New Issue
Block a user