mirror of
https://github.com/lempamo/Project-Unite.git
synced 2025-04-20 00:10:24 +00:00
No overload for my ass gives a fuck about that.
This commit is contained in:
parent
ad3003121a
commit
280dcd22e6
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
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);
|
return View(model);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue