mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-19 10:46:58 +08:00
fix/guesttemplate: Change ResetPassword as true default
This commit is contained in:
@@ -458,7 +458,7 @@ func (gt *SGuestTemplate) getMoreDetails(ctx context.Context, userCred mcclient.
|
||||
|
||||
// reset_password
|
||||
if input.ResetPassword == nil {
|
||||
configInfo.ResetPassword = false
|
||||
configInfo.ResetPassword = true
|
||||
} else {
|
||||
configInfo.ResetPassword = *input.ResetPassword
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user