Browse Source
Merge pull request #7778 from abpframework/liangshiwei/patch-1
Remove email settings from the appsettings.json files
pull/7784/head
maliming
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with
1 additions and
45 deletions
-
modules/setting-management/src/Volo.Abp.SettingManagement.Blazor/Pages/SettingManagement/EmailSettingGroup/EmailSettingGroupViewComponent.razor.cs
-
templates/app/aspnet-core/src/MyCompanyName.MyProjectName.HttpApi.Host/appsettings.json
-
templates/app/aspnet-core/src/MyCompanyName.MyProjectName.HttpApi.HostWithIds/appsettings.json
-
templates/app/aspnet-core/src/MyCompanyName.MyProjectName.IdentityServer/appsettings.json
-
templates/app/aspnet-core/src/MyCompanyName.MyProjectName.Web/appsettings.json
|
|
@ -35,7 +35,7 @@ namespace Volo.Abp.SettingManagement.Blazor.Pages.SettingManagement.EmailSetting |
|
|
{ |
|
|
{ |
|
|
await EmailSettingsAppService.UpdateAsync(ObjectMapper.Map<EmailSettingsDto, UpdateEmailSettingsDto>(EmailSettings)); |
|
|
await EmailSettingsAppService.UpdateAsync(ObjectMapper.Map<EmailSettingsDto, UpdateEmailSettingsDto>(EmailSettings)); |
|
|
|
|
|
|
|
|
await UiMessageService.Success(L["SavedSuccessfully"]); |
|
|
await UiMessageService.Success(L["SuccessfullySaved"]); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
@ -16,16 +16,5 @@ |
|
|
}, |
|
|
}, |
|
|
"StringEncryption": { |
|
|
"StringEncryption": { |
|
|
"DefaultPassPhrase": "gsKnGZ041HLL4IM8" |
|
|
"DefaultPassPhrase": "gsKnGZ041HLL4IM8" |
|
|
}, |
|
|
|
|
|
"Settings": { |
|
|
|
|
|
"Abp.Mailing.Smtp.Host": "127.0.0.1", |
|
|
|
|
|
"Abp.Mailing.Smtp.Port": "25", |
|
|
|
|
|
"Abp.Mailing.Smtp.UserName": "", |
|
|
|
|
|
"Abp.Mailing.Smtp.Password": "", |
|
|
|
|
|
"Abp.Mailing.Smtp.Domain": "", |
|
|
|
|
|
"Abp.Mailing.Smtp.EnableSsl": "false", |
|
|
|
|
|
"Abp.Mailing.Smtp.UseDefaultCredentials": "true", |
|
|
|
|
|
"Abp.Mailing.DefaultFromAddress": "noreply@abp.io", |
|
|
|
|
|
"Abp.Mailing.DefaultFromDisplayName": "ABP application" |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
@ -15,16 +15,5 @@ |
|
|
}, |
|
|
}, |
|
|
"StringEncryption": { |
|
|
"StringEncryption": { |
|
|
"DefaultPassPhrase": "gsKnGZ041HLL4IM8" |
|
|
"DefaultPassPhrase": "gsKnGZ041HLL4IM8" |
|
|
}, |
|
|
|
|
|
"Settings": { |
|
|
|
|
|
"Abp.Mailing.Smtp.Host": "127.0.0.1", |
|
|
|
|
|
"Abp.Mailing.Smtp.Port": "25", |
|
|
|
|
|
"Abp.Mailing.Smtp.UserName": "", |
|
|
|
|
|
"Abp.Mailing.Smtp.Password": "", |
|
|
|
|
|
"Abp.Mailing.Smtp.Domain": "", |
|
|
|
|
|
"Abp.Mailing.Smtp.EnableSsl": "false", |
|
|
|
|
|
"Abp.Mailing.Smtp.UseDefaultCredentials": "true", |
|
|
|
|
|
"Abp.Mailing.DefaultFromAddress": "noreply@abp.io", |
|
|
|
|
|
"Abp.Mailing.DefaultFromDisplayName": "ABP application" |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
@ -12,16 +12,5 @@ |
|
|
}, |
|
|
}, |
|
|
"StringEncryption": { |
|
|
"StringEncryption": { |
|
|
"DefaultPassPhrase": "gsKnGZ041HLL4IM8" |
|
|
"DefaultPassPhrase": "gsKnGZ041HLL4IM8" |
|
|
}, |
|
|
|
|
|
"Settings": { |
|
|
|
|
|
"Abp.Mailing.Smtp.Host": "127.0.0.1", |
|
|
|
|
|
"Abp.Mailing.Smtp.Port": "25", |
|
|
|
|
|
"Abp.Mailing.Smtp.UserName": "", |
|
|
|
|
|
"Abp.Mailing.Smtp.Password": "", |
|
|
|
|
|
"Abp.Mailing.Smtp.Domain": "", |
|
|
|
|
|
"Abp.Mailing.Smtp.EnableSsl": "false", |
|
|
|
|
|
"Abp.Mailing.Smtp.UseDefaultCredentials": "true", |
|
|
|
|
|
"Abp.Mailing.DefaultFromAddress": "noreply@abp.io", |
|
|
|
|
|
"Abp.Mailing.DefaultFromDisplayName": "ABP application" |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
@ -11,16 +11,5 @@ |
|
|
}, |
|
|
}, |
|
|
"StringEncryption": { |
|
|
"StringEncryption": { |
|
|
"DefaultPassPhrase": "gsKnGZ041HLL4IM8" |
|
|
"DefaultPassPhrase": "gsKnGZ041HLL4IM8" |
|
|
}, |
|
|
|
|
|
"Settings": { |
|
|
|
|
|
"Abp.Mailing.Smtp.Host": "127.0.0.1", |
|
|
|
|
|
"Abp.Mailing.Smtp.Port": "25", |
|
|
|
|
|
"Abp.Mailing.Smtp.UserName": "", |
|
|
|
|
|
"Abp.Mailing.Smtp.Password": "", |
|
|
|
|
|
"Abp.Mailing.Smtp.Domain": "", |
|
|
|
|
|
"Abp.Mailing.Smtp.EnableSsl": "false", |
|
|
|
|
|
"Abp.Mailing.Smtp.UseDefaultCredentials": "true", |
|
|
|
|
|
"Abp.Mailing.DefaultFromAddress": "noreply@abp.io", |
|
|
|
|
|
"Abp.Mailing.DefaultFromDisplayName": "ABP application" |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|