Skip to content

Commit

Permalink
Remove AllowToReadLetsEncryptFile property and logic
Browse files Browse the repository at this point in the history
  • Loading branch information
KrzysztofPajak committed Dec 22, 2024
1 parent eb7ed25 commit 1764275
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 56 deletions.
5 changes: 0 additions & 5 deletions src/Core/Grand.Domain/Common/CommonSettings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,4 @@ public class CommonSettings : ISettings
/// Gets or sets to edit product where auction ended
/// </summary>
public bool AllowEditProductEndedAuction { get; set; }

/// <summary>
/// Gets or sets - allow user to read "let's encrypted file"
/// </summary>
public bool AllowToReadLetsEncryptFile { get; set; }
}
Original file line number Diff line number Diff line change
Expand Up @@ -253,18 +253,6 @@
<span asp-validation-for="CommonSettings.UseSystemEmailForContactUsForm"></span>
</div>
</div>
<div class="form-group">
<div class="col-8 col-md-4 col-sm-4 text-right">
<admin-label asp-for="CommonSettings.AllowToReadLetsEncryptFile" class="control-label"/>
</div>
<div class="col-4 col-md-8 col-sm-8">
<label class="mt-checkbox mt-checkbox-outline control control-checkbox">
<admin-input asp-for="CommonSettings.AllowToReadLetsEncryptFile"/>
<div class="control__indicator"></div>
</label>
<span asp-validation-for="CommonSettings.AllowToReadLetsEncryptFile"></span>
</div>
</div>
<div class="form-group">
<div class="col-8 col-md-4 col-sm-4 text-right">
<admin-label asp-for="CommonSettings.AllowToSelectStore" class="control-label"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,6 @@ public class CommonSettingsModel : BaseModel
[GrandResourceDisplayName("Admin.Settings.GeneralCommon.UseSystemEmailForContactUsForm")]
public bool UseSystemEmailForContactUsForm { get; set; }

[GrandResourceDisplayName("Admin.Settings.GeneralCommon.AllowToReadLetsEncryptFile")]
public bool AllowToReadLetsEncryptFile { get; set; }

[GrandResourceDisplayName("Admin.Settings.GeneralCommon.AllowToSelectStore")]
public bool AllowToSelectStore { get; set; }

Expand Down
3 changes: 0 additions & 3 deletions src/Web/Grand.Web/App_Data/Resources/DefaultLanguage.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10107,9 +10107,6 @@
<Resource Name="Admin.Settings.GeneralCommon.AllowSlashChar" Area="Admin">
<Value>Allow to use slash char</Value>
</Resource>
<Resource Name="Admin.Settings.GeneralCommon.AllowToReadLetsEncryptFile" Area="Admin">
<Value>Allow to read Let's Encrypt file</Value>
</Resource>
<Resource Name="Admin.Settings.GeneralCommon.AllowToSelectAdminTheme" Area="Admin">
<Value>Allow to select admin theme</Value>
</Resource>
Expand Down
33 changes: 0 additions & 33 deletions src/Web/Grand.Web/Controllers/LetsEncryptController.cs

This file was deleted.

0 comments on commit 1764275

Please sign in to comment.