diff --git a/WGShare.API/Controllers/AuthController.cs b/WGShare.API/Controllers/AuthController.cs index 469e885..f0b40ac 100644 --- a/WGShare.API/Controllers/AuthController.cs +++ b/WGShare.API/Controllers/AuthController.cs @@ -139,7 +139,8 @@ namespace WGShare.API.Controllers expire = _configuration["Jwt:Expires"].ToInt32(), account = user.Account, uid = user.Id, - screenShareId = user.ScreenShareId + screenShareId = user.ScreenShareId, + isAnonymous = false }); } @@ -191,7 +192,8 @@ namespace WGShare.API.Controllers expire = _configuration["Jwt:Expires"].ToInt32(), account = user.Account, uid = user.Id, - screenShareId = user.ScreenShareId + screenShareId = user.ScreenShareId, + isAnonymous = false }); } @@ -271,7 +273,8 @@ namespace WGShare.API.Controllers expire = _configuration["Jwt:Expires"].ToInt32(), account = user.Account, uid = user.Id, - screenShareId = user.ScreenShareId + screenShareId = user.ScreenShareId, + isAnonymous = true }); }