mirror of
https://git.teknik.io/Teknikode/Teknik.git
synced 2023-08-02 14:16:22 +02:00
Fixed auto-signout on deletion.
This commit is contained in:
parent
64871e8564
commit
29635234e6
@ -435,7 +435,8 @@ namespace Teknik.Areas.Profile.Controllers
|
||||
user.UploadSettings = db.UploadSettings.Find(user.UserId);
|
||||
db.Users.Remove(user);
|
||||
db.SaveChanges();
|
||||
FormsAuthentication.SignOut();
|
||||
// Sign Out
|
||||
Logout();
|
||||
return Json(new { result = true });
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user