Skip to content

Commit

Permalink
Fix Host default_authentication_type
Browse files Browse the repository at this point in the history
  • Loading branch information
agrare committed Jan 24, 2024
1 parent 115eaf8 commit 879a964
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions app/models/manageiq/providers/vmware/infra_manager/host.rb
Original file line number Diff line number Diff line change
Expand Up @@ -97,23 +97,23 @@ def params_for_update
:fields => [
{
:component => 'validate-host-credentials',
:id => 'endpoints.ws.valid',
:name => 'endpoints.ws.valid',
:id => 'authentications.default.valid',
:name => 'authentications.default.valid',
:skipSubmit => true,
:isRequired => true,
:fields => [
{
:component => "text-field",
:id => "authentications.ws.userid",
:name => "authentications.ws.userid",
:id => "authentications.default.userid",
:name => "authentications.default.userid",
:label => _("Username"),
:isRequired => true,
:validate => [{:type => "required"}],
},
{
:component => "password-field",
:id => "authentications.ws.password",
:name => "authentications.ws.password",
:id => "authentications.default.password",
:name => "authentications.default.password",
:label => _("Password"),
:type => "password",
:isRequired => true,
Expand Down Expand Up @@ -150,8 +150,8 @@ def params_for_update
},
{
:component => 'validate-host-credentials',
:id => 'endpoints.remote.valid',
:name => 'endpoints.remote.valid',
:id => 'authentications.remote.valid',
:name => 'authentications.remote.valid',
:skipSubmit => true,
:condition => {
:when => 'remoteEnabled',
Expand Down

0 comments on commit 879a964

Please sign in to comment.