aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJP Dillingham <jpdillingham@gmail.com>2021-06-15 07:24:34 -0500
committerJP Dillingham <jpdillingham@gmail.com>2021-06-15 07:24:34 -0500
commit357218e9c475ebcad8b04053e06bb8527310749b (patch)
tree70db72c91eb45663cd34b47d1f9905ec2f439b91 /src
parent050be311e68bb316cfc40fbd23bfd5a812e1a060 (diff)
downloadslskd-357218e9c475ebcad8b04053e06bb8527310749b.tar.gz
move Role
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;