Browse Source

Changed defaults for upload to save key and encrypt server side.

pull/29/head
Teknikode 7 years ago
parent
commit
58b4025f88
  1. 4
      Teknik/Areas/Profile/Models/UploadSettings.cs
  2. 4
      Teknik/Areas/Upload/Controllers/UploadController.cs

4
Teknik/Areas/Profile/Models/UploadSettings.cs

@ -25,8 +25,8 @@ namespace Teknik.Areas.Profile.Models @@ -25,8 +25,8 @@ namespace Teknik.Areas.Profile.Models
public UploadSettings()
{
SaveKey = false;
ServerSideEncrypt = false;
SaveKey = true;
ServerSideEncrypt = true;
}
}
}

4
Teknik/Areas/Upload/Controllers/UploadController.cs

@ -33,8 +33,8 @@ namespace Teknik.Areas.Upload.Controllers @@ -33,8 +33,8 @@ namespace Teknik.Areas.Upload.Controllers
}
else
{
model.SaveKey = false;
model.ServerSideEncrypt = false;
model.SaveKey = true;
model.ServerSideEncrypt = true;
}
return View(model);
}

Loading…
Cancel
Save