Browse Source

removed unused codes

pull/1440/head
Yunus Emre Kalkan 7 years ago
parent
commit
59025a12a6
  1. 9
      modules/account/src/Volo.Abp.Account.Application.Contracts/Volo/Abp/Account/Localization/Resources/en.json
  2. 9
      modules/account/src/Volo.Abp.Account.Application.Contracts/Volo/Abp/Account/Localization/Resources/zh-Hans.json
  3. 6
      modules/account/src/Volo.Abp.Account.Application/Volo/Abp/Account/AbpAccountApplicationModule.cs
  4. 8
      modules/account/src/Volo.Abp.Account.Application/Volo/Abp/Account/AccountUrlNames.cs

9
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}"
}
}

9
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}"
}
}

6
modules/account/src/Volo.Abp.Account.Application/Volo/Abp/Account/AbpAccountApplicationModule.cs

@ -21,12 +21,6 @@ namespace Volo.Abp.Account
{
options.FileSets.AddEmbedded<AbpAccountApplicationModule>();
});
Configure<AppUrlOptions>(options =>
{
options.Applications["MVC"].Urls[AccountUrlNames.PasswordReset] = "Account/ResetPassword";
options.Applications["MVC"].Urls[AccountUrlNames.EmailConfirmation] = "Account/EmailConfirmation";
});
}
}
}

8
modules/account/src/Volo.Abp.Account.Application/Volo/Abp/Account/AccountUrlNames.cs

@ -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";
}
}
Loading…
Cancel
Save