14 lines
291 B
C#
14 lines
291 B
C#
using Microsoft.AspNetCore.Mvc;
|
|
|
|
namespace Props.Controllers
|
|
{
|
|
public class UserController : ApiControllerBase
|
|
{
|
|
[HttpGet]
|
|
[Route("LoggedIn")]
|
|
public IActionResult GetLoggedIn()
|
|
{
|
|
return Ok(User.Identity.IsAuthenticated);
|
|
}
|
|
}
|
|
} |