From 72f2000e3826ff9b40dd59f5252ea246b244d539 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Fri, 24 Sep 2021 08:50:18 -0500 Subject: add auth --- src/slskd/Core/API/Hubs/ApplicationHub.cs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/slskd/Core/API/Hubs/ApplicationHub.cs b/src/slskd/Core/API/Hubs/ApplicationHub.cs index 90dc469f..a22fc7df 100644 --- a/src/slskd/Core/API/Hubs/ApplicationHub.cs +++ b/src/slskd/Core/API/Hubs/ApplicationHub.cs @@ -18,6 +18,7 @@ namespace slskd.Core.API { using System.Threading.Tasks; + using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.SignalR; /// @@ -45,6 +46,7 @@ namespace slskd.Core.API /// /// The application SignalR hub. /// + [Authorize] public class ApplicationHub : Hub { } -- cgit v1.2.3