diff options
| author | Michael <[email protected]> | 2017-04-11 10:22:55 -0400 |
|---|---|---|
| committer | Michael <[email protected]> | 2017-04-11 10:22:55 -0400 |
| commit | 280dcd22e65afdb6ccedf4ac2a68616c18d11938 (patch) | |
| tree | 0356267acc2a56e2c0f7dc6c3022a20fe3655d3f /Project-Unite/Controllers | |
| parent | ad3003121a84c8f0ea8da35d97711bec82a6b9b2 (diff) | |
| download | project-unite-280dcd22e65afdb6ccedf4ac2a68616c18d11938.tar.gz project-unite-280dcd22e65afdb6ccedf4ac2a68616c18d11938.tar.bz2 project-unite-280dcd22e65afdb6ccedf4ac2a68616c18d11938.zip | |
No overload for my ass gives a fuck about that.
Diffstat (limited to 'Project-Unite/Controllers')
| -rw-r--r-- | Project-Unite/Controllers/AccountController.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Project-Unite/Controllers/AccountController.cs b/Project-Unite/Controllers/AccountController.cs index a80639d..a315a6f 100644 --- a/Project-Unite/Controllers/AccountController.cs +++ b/Project-Unite/Controllers/AccountController.cs @@ -183,7 +183,7 @@ The addressed used to send this message is not a no-reply address. In fact, my n { if(temp.Users.FirstOrDefault(x=>x.DisplayName==model.Username) != null) { - ModelState.AddModelError("Your display name is already taken."); + ModelState.AddModelError("Username", new Exception("Your display name is already taken.")); return View(model); } } |
