Project

General

Profile

« Previous | Next » 

Revision 75dc676f

Added by Tom Caspy over 8 years ago

fixes #11715 - base64 encoded passwords must not be reencoded

View differences:

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