diff --git a/MediaManager/AuthUtil.cs b/MediaManager/AuthUtil.cs index 8f7b559..a807f13 100644 --- a/MediaManager/AuthUtil.cs +++ b/MediaManager/AuthUtil.cs @@ -7,7 +7,7 @@ namespace MediaManager; public static class AuthUtil { public static string GetRemoteUser(HttpContext ctx, Database.DbConn db) { #if (DEBUG) - const string remoteUser = "zotan"; + const string remoteUser = "debuguser"; #else var remoteUser = ctx.Request.Headers["Remote-User"]; #endif diff --git a/README.md b/README.md index 8037219..607f4e6 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # MediaManager ## DISCLAIMER -- This app uses the `Remote-User` header for authentication. For production use an auth proxy like Authelia is required. In development mode the user is set to `zotan` by default. This can be changed in `AuthUtil.cs`. +- This app uses the `Remote-User` header for authentication. For production use an auth proxy like Authelia is required. In development mode the user is set to `debuguser` by default. This can be changed in `AuthUtil.cs`. ## Development / testing requirements - .NET Core SDK (version 7.0 or higher; arch package `dotnet-sdk`)