password reset workflow changed
This commit is contained in:
parent
2f1e740d5a
commit
410b15c2c4
36 changed files with 1229 additions and 255 deletions
|
@ -0,0 +1,8 @@
|
|||
namespace WebsitePanel.WebDavPortal.Models.Account.Enums
|
||||
{
|
||||
public enum PincodeSendMethod
|
||||
{
|
||||
Mobile,
|
||||
Email
|
||||
}
|
||||
}
|
|
@ -4,7 +4,7 @@ using WebsitePanel.WebDavPortal.Resources;
|
|||
|
||||
namespace WebsitePanel.WebDavPortal.Models.Account
|
||||
{
|
||||
public class PasswordResetEmailModel
|
||||
public class PasswordResetLoginModel
|
||||
{
|
||||
[Required]
|
||||
[Display(ResourceType = typeof(Resources.UI), Name = "Email")]
|
|
@ -3,7 +3,7 @@ using WebsitePanel.WebDavPortal.Models.Common;
|
|||
|
||||
namespace WebsitePanel.WebDavPortal.Models.Account
|
||||
{
|
||||
public class PasswordResetSmsModel
|
||||
public class PasswordResetPincodeModel
|
||||
{
|
||||
[Required]
|
||||
public string Sms { get; set; }
|
|
@ -0,0 +1,11 @@
|
|||
using WebsitePanel.WebDavPortal.Models.Account.Enums;
|
||||
|
||||
namespace WebsitePanel.WebDavPortal.Models.Account
|
||||
{
|
||||
public class PasswordResetPincodeSendOptionsModel
|
||||
{
|
||||
public PincodeSendMethod Method { get; set; }
|
||||
public string MobileNumber { get; set; }
|
||||
public string Email { get; set; }
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue