summaryrefslogtreecommitdiff
path: root/Project-Unite/Controllers/AccountController.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Project-Unite/Controllers/AccountController.cs')
-rw-r--r--Project-Unite/Controllers/AccountController.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/Project-Unite/Controllers/AccountController.cs b/Project-Unite/Controllers/AccountController.cs
index 6ee32d0..846c8c3 100644
--- a/Project-Unite/Controllers/AccountController.cs
+++ b/Project-Unite/Controllers/AccountController.cs
@@ -152,7 +152,7 @@ The addressed used to send this message is not a no-reply address. In fact, my n
switch (result)
{
case SignInStatus.Success:
- return RedirectToLocal(model.ReturnUrl);
+ // NOPE
case SignInStatus.LockedOut:
return View("Lockout");
case SignInStatus.Failure:
@@ -191,7 +191,7 @@ The addressed used to send this message is not a no-reply address. In fact, my n
var user = new ApplicationUser { UserName = model.Email, Email = model.Email, DisplayName = model.Username, Codepoints = 0, JoinedAt = DateTime.Now, MutedAt = DateTime.Now, BannedAt = DateTime.Now, LastLogin = DateTime.Now };
var result = await UserManager.CreateAsync(user, model.Password);
- if (result.Succeeded)
+ if (false)
{
await SignInManager.SignInAsync(user, isPersistent:false, rememberBrowser:false);
@@ -520,4 +520,4 @@ The addressed used to send this message is not a no-reply address. In fact, my n
}
#endregion
}
-} \ No newline at end of file
+}