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/host/base.rb
errors.add(:interfaces, _('some interfaces are invalid')) unless success
success
end
def password_base64_encrypted?
if root_pass_changed?
root_pass == hostgroup.try(:read_attribute, :root_pass)
else
true
end
end
end
end

Also available in: Unified diff