fix/guesttemplate: Change ResetPassword as true default

This commit is contained in:
Rain
2020-04-26 20:59:50 +08:00
parent 4d8e0ba1b4
commit 203bdb2dfb
+1 -1
View File
@@ -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
}