Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[V2V] Have ConversionHost explicitly search authentications for auth type #18748

Merged
merged 4 commits into from
May 11, 2019
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions app/models/conversion_host.rb
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,7 @@ def resource_supports_conversion_host
#
def find_credentials(auth_type = 'v2v')
authentication = authentication_type(auth_type)
authentication ||= authentications.detect { |a| a.authtype == auth_type }
djberg96 marked this conversation as resolved.
Show resolved Hide resolved

if authentication.blank?
res = resource.respond_to?(:authentication_type) ? resource : resource.ext_management_system
Expand Down