fix 401 authorize problem
This commit is contained in:
parent
6f419b3373
commit
e75ea84e66
|
|
@ -1,5 +1,4 @@
|
||||||
using Koogle.Application.DTOs;
|
using Koogle.Application.DTOs;
|
||||||
using Microsoft.AspNetCore.Authorization;
|
|
||||||
using Microsoft.AspNetCore.SignalR;
|
using Microsoft.AspNetCore.SignalR;
|
||||||
|
|
||||||
namespace Koogle.Web.Hubs;
|
namespace Koogle.Web.Hubs;
|
||||||
|
|
@ -7,8 +6,8 @@ namespace Koogle.Web.Hubs;
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// SignalR hub for real-time game state synchronization.
|
/// SignalR hub for real-time game state synchronization.
|
||||||
/// Clients join game-specific groups to receive updates.
|
/// Clients join game-specific groups to receive updates.
|
||||||
|
/// Note: Authorization handled at page level (DayDetails requires ClubViewer policy).
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Authorize]
|
|
||||||
public class GameHub : Hub<IGameHubClient>
|
public class GameHub : Hub<IGameHubClient>
|
||||||
{
|
{
|
||||||
private readonly ILogger<GameHub> _logger;
|
private readonly ILogger<GameHub> _logger;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue