mirror of
https://github.com/lempamo/Project-Unite.git
synced 2025-04-20 00:10:24 +00:00
SHUT DOWN EVERYTHING
AHHHHHHHHHHHHHHHH
This commit is contained in:
parent
72feceb369
commit
c465a886cf
1 changed files with 3 additions and 3 deletions
|
@ -152,7 +152,7 @@ The addressed used to send this message is not a no-reply address. In fact, my n
|
||||||
switch (result)
|
switch (result)
|
||||||
{
|
{
|
||||||
case SignInStatus.Success:
|
case SignInStatus.Success:
|
||||||
return RedirectToLocal(model.ReturnUrl);
|
// NOPE
|
||||||
case SignInStatus.LockedOut:
|
case SignInStatus.LockedOut:
|
||||||
return View("Lockout");
|
return View("Lockout");
|
||||||
case SignInStatus.Failure:
|
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 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);
|
var result = await UserManager.CreateAsync(user, model.Password);
|
||||||
if (result.Succeeded)
|
if (false)
|
||||||
{
|
{
|
||||||
await SignInManager.SignInAsync(user, isPersistent:false, rememberBrowser: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
|
#endregion
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue