diff --git a/modules/account/src/Volo.Abp.Account.Application.Contracts/Volo/Abp/Account/Localization/Resources/en.json b/modules/account/src/Volo.Abp.Account.Application.Contracts/Volo/Abp/Account/Localization/Resources/en.json index 02583b106b..a9c8dcc3fd 100644 --- a/modules/account/src/Volo.Abp.Account.Application.Contracts/Volo/Abp/Account/Localization/Resources/en.json +++ b/modules/account/src/Volo.Abp.Account.Application.Contracts/Volo/Abp/Account/Localization/Resources/en.json @@ -1,14 +1,5 @@ { "culture": "en", "texts": { - "PasswordReset": "Password Reset", - "PasswordResetInfoInEmail": "We received an account recovery request! If you initiated this request, click the following link to reset your password.", - "ResetMyPassword": "Reset my password", - "NotAMemberYet": "Not a member yet?", - "OrSignInWith": "Or sign in with", - "EmailConfirmation": "Email Confirmation", - "EmailConfirmationInfoInEmail": "Please confirm your email address by clicking the following link.", - "ConfirmMyEmail": "Confirm my email address", - "Volo.Account:InvalidEmailAddress": "Can not find the given email address: {Email}" } } \ No newline at end of file diff --git a/modules/account/src/Volo.Abp.Account.Application.Contracts/Volo/Abp/Account/Localization/Resources/zh-Hans.json b/modules/account/src/Volo.Abp.Account.Application.Contracts/Volo/Abp/Account/Localization/Resources/zh-Hans.json index 1c5373b625..c5ad813265 100644 --- a/modules/account/src/Volo.Abp.Account.Application.Contracts/Volo/Abp/Account/Localization/Resources/zh-Hans.json +++ b/modules/account/src/Volo.Abp.Account.Application.Contracts/Volo/Abp/Account/Localization/Resources/zh-Hans.json @@ -1,14 +1,5 @@ { "culture": "zh-Hans", "texts": { - "PasswordReset": "重设密码", - "PasswordResetInfoInEmail": "我们收到了帐户恢复请求!如果您发起了此请求,请单击以下链接以重置密码.", - "ResetMyPassword": "重置我的密码", - "NotAMemberYet": "还不是会员?", - "OrSignInWith": "或者登录", - "EmailConfirmation": "邮件确认", - "EmailConfirmationInfoInEmail": "请点击以下链接确认您的电子邮件地址.", - "ConfirmMyEmail": "确认我的电子邮件地址", - "Volo.Account:InvalidEmailAddress": "找不到给定的电子邮件地址:{Email}" } } \ No newline at end of file diff --git a/modules/account/src/Volo.Abp.Account.Application/Volo/Abp/Account/AbpAccountApplicationModule.cs b/modules/account/src/Volo.Abp.Account.Application/Volo/Abp/Account/AbpAccountApplicationModule.cs index 44ca2681f6..2322fce4e0 100644 --- a/modules/account/src/Volo.Abp.Account.Application/Volo/Abp/Account/AbpAccountApplicationModule.cs +++ b/modules/account/src/Volo.Abp.Account.Application/Volo/Abp/Account/AbpAccountApplicationModule.cs @@ -21,12 +21,6 @@ namespace Volo.Abp.Account { options.FileSets.AddEmbedded(); }); - - Configure(options => - { - options.Applications["MVC"].Urls[AccountUrlNames.PasswordReset] = "Account/ResetPassword"; - options.Applications["MVC"].Urls[AccountUrlNames.EmailConfirmation] = "Account/EmailConfirmation"; - }); } } } \ No newline at end of file diff --git a/modules/account/src/Volo.Abp.Account.Application/Volo/Abp/Account/AccountUrlNames.cs b/modules/account/src/Volo.Abp.Account.Application/Volo/Abp/Account/AccountUrlNames.cs deleted file mode 100644 index 4c54649bd2..0000000000 --- a/modules/account/src/Volo.Abp.Account.Application/Volo/Abp/Account/AccountUrlNames.cs +++ /dev/null @@ -1,8 +0,0 @@ -namespace Volo.Abp.Account -{ - public static class AccountUrlNames - { - public const string PasswordReset = "Abp.Account.PasswordReset"; - public const string EmailConfirmation = "Abp.Account.EmailConfirmation"; - } -} \ No newline at end of file