AB#6233 - Added HttpPost to ensure only posts are possible

This commit is contained in:
Bjarke Berg
2020-05-07 10:13:54 +02:00
parent e4dfdbb504
commit e3f9b94fd0
2 changed files with 3 additions and 2 deletions

View File

@@ -90,6 +90,7 @@ namespace Umbraco.Web.Common.Install
/// <summary>
/// Installs.
/// </summary>
[HttpPost]
public async Task<InstallProgressResultModel> PostPerformInstall([FromBody] InstallInstructions installModel)
{
if (installModel == null) throw new ArgumentNullException(nameof(installModel));