Revision 75dc676f
Added by Tom Caspy over 8 years ago
app/models/hostgroup.rb | ||
---|---|---|
return [] if new_record? && parent_id.blank?
|
||
Host::Base.where(:hostgroup_id => self.path_ids).uniq.pluck(type).compact
|
||
end
|
||
|
||
def password_base64_encrypted?
|
||
!root_pass_changed?
|
||
end
|
||
end
|
Also available in: Unified diff
fixes #11715 - base64 encoded passwords must not be reencoded