mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-07-09 03:04:20 -04:00
Implementing sign off
This commit is contained in:
parent
c5b6b62925
commit
9af58b41a2
@ -62,6 +62,14 @@ namespace Kyoo.Api
|
||||
return Ok();
|
||||
}
|
||||
|
||||
[HttpGet("logout")]
|
||||
[Authorize]
|
||||
public async Task<IActionResult> Logout()
|
||||
{
|
||||
await _signInManager.SignOutAsync();
|
||||
return Ok();
|
||||
}
|
||||
|
||||
[HttpGet]
|
||||
[Authorize]
|
||||
public async Task<ActionResult<Account>> Index()
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit afdddfd7b12d9e31367cec4ad20c3ea2ac169f0c
|
||||
Subproject commit a426f2da8ff72cf0da5a173791f95e39ded8834e
|
Loading…
x
Reference in New Issue
Block a user