mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
Fixing typo/language
This commit is contained in:
@@ -7,7 +7,7 @@ using Orchard.Localization;
|
||||
namespace Orchard.Email.Drivers {
|
||||
|
||||
// We define a specific driver instead of using a TemplateFilterForRecord, because we need the model to be the part and not the record.
|
||||
// Thus the encryption/decryption will be done when accessing the part's property
|
||||
// Thus the encryption/decryption will be done when accessing the part's property.
|
||||
|
||||
public class SmtpSettingsPartDriver : ContentPartDriver<SmtpSettingsPart> {
|
||||
private const string TemplateName = "Parts/SmtpSettings";
|
||||
@@ -31,7 +31,7 @@ namespace Orchard.Email.Drivers {
|
||||
var previousPassword = part.Password;
|
||||
updater.TryUpdateModel(part, Prefix, null, null);
|
||||
|
||||
// restore password if the input is empty, meaning it has not been reseted
|
||||
// Restore password if the input is empty, meaning that it has not been reset.
|
||||
if (string.IsNullOrEmpty(part.Password)) {
|
||||
part.Password = previousPassword;
|
||||
}
|
||||
|
@@ -2,7 +2,7 @@
|
||||
|
||||
namespace Orchard.Security {
|
||||
/// <summary>
|
||||
/// Applied on a Controller or an Action, will prevent any action from being filtered by AccessFrontEnd permssion
|
||||
/// Applied on a Controller or an Action, it will prevent any action from being filtered by the AccessFrontEnd permission.
|
||||
/// </summary>
|
||||
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = false, Inherited = true)]
|
||||
public class AlwaysAccessibleAttribute : Attribute {
|
||||
|
Reference in New Issue
Block a user