From c7d7fa265e6582660d435b5a075c16a65dac6f86 Mon Sep 17 00:00:00 2001 From: James Kolpack Date: Thu, 18 Jun 2015 09:21:03 -0400 Subject: [PATCH] Login view model override ToString() --- Web/ViewModels/Account/LoginViewModel.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Web/ViewModels/Account/LoginViewModel.cs b/Web/ViewModels/Account/LoginViewModel.cs index 2ac450c..8a75f70 100644 --- a/Web/ViewModels/Account/LoginViewModel.cs +++ b/Web/ViewModels/Account/LoginViewModel.cs @@ -16,5 +16,10 @@ namespace MileageTraker.Web.ViewModels.Account [Display(Name = "Remember me?")] [NoEditLabel] public bool RememberMe { get; set; } + + public override string ToString() + { + return string.Format("username: {0}", Username); + } } } \ No newline at end of file