diff --git a/src/webapp01/Pages/Index.cshtml.cs b/src/webapp01/Pages/Index.cshtml.cs
index 43f75a7..24a1366 100644
--- a/src/webapp01/Pages/Index.cshtml.cs
+++ b/src/webapp01/Pages/Index.cshtml.cs
@@ -5,21 +5,23 @@ namespace webapp01.Pages;
public class IndexModel : PageModel
{
+ string adminUserName = "demouser@example.com";
+
+ // TODO: Don't use this in production
+ public const string DEFAULT_PASSWORD = "Pass@word1";
+
private readonly ILogger _logger;
public IndexModel(ILogger logger)
{
_logger = logger;
-
- string drive = Request.Query.ContainsKey("drive") ? Request.Query["drive"] : "C";
-
- var str = $"/C fsutil volume diskfree {drive}:";
-
- _logger.LogInformation($"Command str: {str}");
}
public void OnGet()
{
-
+ string drive = Request.Query.ContainsKey("drive") ? Request.Query["drive"] : "C";
+ var str = $"/C fsutil volume diskfree {drive}:";
+ _logger.LogInformation($"Command str: {str}");
+ _logger.LogInformation("Admin" + adminUserName);
}
}
diff --git a/src/webapp01/webapp01.csproj b/src/webapp01/webapp01.csproj
index 1fc9d21..79452ef 100644
--- a/src/webapp01/webapp01.csproj
+++ b/src/webapp01/webapp01.csproj
@@ -7,6 +7,7 @@
+