Reset password implementation

This commit is contained in:
2013-01-02 14:18:12 -05:00
parent e88065e925
commit 4af8981a10
17 changed files with 338 additions and 47 deletions
@@ -0,0 +1,11 @@
using System.ComponentModel.DataAnnotations;
namespace MileageTraker.Web.ViewModels.Account
{
public class ResetPasswordViewModel
{
[Required]
[RegularExpression("[^@]*", ErrorMessage = "Enter just your username, not your email")]
public string Username { get; set; }
}
}