diff options
author | Tim <contact@bytim.eu> | 2025-04-25 20:23:12 +0200 |
---|---|---|
committer | Tim <contact@bytim.eu> | 2025-04-25 20:23:12 +0200 |
commit | 433d740d56cf2cfaa528249775ac8815c192e829 (patch) | |
tree | e8d6da5bdaa85e9382e4dcab7fddac2ca3bd6032 /VPNAuth.Server/Pages | |
parent | b67e236302332eb9cd6c8e32e5dca5bc33ffbe5d (diff) | |
download | VPNAuth-433d740d56cf2cfaa528249775ac8815c192e829.tar.xz VPNAuth-433d740d56cf2cfaa528249775ac8815c192e829.zip |
Show ip on dashboard when no user is detected.
Diffstat (limited to 'VPNAuth.Server/Pages')
-rw-r--r-- | VPNAuth.Server/Pages/Dashboard.cshtml | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/VPNAuth.Server/Pages/Dashboard.cshtml b/VPNAuth.Server/Pages/Dashboard.cshtml index 6648797..f0fea84 100644 --- a/VPNAuth.Server/Pages/Dashboard.cshtml +++ b/VPNAuth.Server/Pages/Dashboard.cshtml @@ -5,7 +5,6 @@ @{ Layout = null; - string remoteIp = Request.HttpContext.GetRemoteIpAddress(); ConfigUser? configUser = Request.HttpContext.GetUser(); UserInformation? dbUser = null; @@ -27,7 +26,7 @@ <body> @if (configUser == null) { - <p>No user detected</p> + <p>No user detected with IP <code>@Request.HttpContext.GetRemoteIpAddress()</code>.</p> } else { |