mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-24 16:03:43 +08:00
Merge pull request #1301 from ioito/hotfix/qx-zstack-update-password
fix update zstack account password error
This commit is contained in:
@@ -67,7 +67,7 @@ func (self *SZStackProviderFactory) ValidateUpdateCloudaccountCredential(ctx con
|
||||
cloudaccount = username
|
||||
}
|
||||
password, _ := data.GetString("password")
|
||||
if len(password) > 0 {
|
||||
if len(password) == 0 {
|
||||
return nil, httperrors.NewMissingParameterError("password")
|
||||
}
|
||||
account := &cloudprovider.SCloudaccount{
|
||||
|
||||
Reference in New Issue
Block a user