Revision 2652deaf
Added by Trey Dockendorf over 7 years ago
app/controllers/unattended_controller.rb | ||
---|---|---|
end
|
||
|
||
def allowed_to_install?
|
||
(@host.build || @spoof) ? true : head(:method_not_allowed)
|
||
(@host.build || @spoof || Setting[:access_unattended_without_build]) ? true : head(:method_not_allowed)
|
||
end
|
||
|
||
# Cleans Certificate and enable autosign. This is run as a before_action for provisioning templates.
|
Also available in: Unified diff
Fixes #17296 - Add setting access_unattended_without_build