fixes user's auto-deletion :-)
This commit is contained in:
parent
51c3ea3f37
commit
105f8c70c9
3 changed files with 6 additions and 1 deletions
|
|
@ -687,7 +687,7 @@ namespace Yavsc.Controllers
|
|||
[HttpGet, Authorize]
|
||||
public IActionResult Delete()
|
||||
{
|
||||
return View();
|
||||
return View(new UnregisterViewModel { UserId = User.GetUserId() });
|
||||
}
|
||||
|
||||
[HttpGet, Authorize("AdministratorOnly")]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue