aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/slskd/Common/Authentication/Role.cs (renamed from src/slskd/Service/Application/Role.cs)2
-rw-r--r--src/slskd/Service/Application/API/Controllers/SessionController.cs1
-rw-r--r--src/slskd/Startup.cs2
3 files changed, 3 insertions, 2 deletions
diff --git a/src/slskd/Service/Application/Role.cs b/src/slskd/Common/Authentication/Role.cs
index 74ba7f81..c6c64a7c 100644
--- a/src/slskd/Service/Application/Role.cs
+++ b/src/slskd/Common/Authentication/Role.cs
@@ -15,7 +15,7 @@
// along with this program. If not, see https://www.gnu.org/licenses/.
// </copyright>
-namespace slskd.Application
+namespace slskd.Authentication
{
public enum Role
{
diff --git a/src/slskd/Service/Application/API/Controllers/SessionController.cs b/src/slskd/Service/Application/API/Controllers/SessionController.cs
index b819dc57..a8e8fac5 100644
--- a/src/slskd/Service/Application/API/Controllers/SessionController.cs
+++ b/src/slskd/Service/Application/API/Controllers/SessionController.cs
@@ -24,6 +24,7 @@ namespace slskd.Application.API
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.IdentityModel.Tokens;
+ using slskd.Authentication;
/// <summary>
/// Session.
diff --git a/src/slskd/Startup.cs b/src/slskd/Startup.cs
index 894c0e53..2f35e6fc 100644
--- a/src/slskd/Startup.cs
+++ b/src/slskd/Startup.cs
@@ -33,7 +33,7 @@ namespace slskd
using Prometheus;
using Prometheus.SystemMetrics;
using Serilog;
- using slskd.API.Authentication;
+ using slskd.Authentication;
using slskd.Cryptography;
using slskd.Messaging;
using slskd.Peer;