From 4b2ad030fa381662f4b0c2464e97b0d2c5f6a716 Mon Sep 17 00:00:00 2001 From: Tim Date: Fri, 18 Apr 2025 12:25:59 +0200 Subject: Initial commit --- VPNAuth.Server/Pages/Auth.cshtml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 VPNAuth.Server/Pages/Auth.cshtml (limited to 'VPNAuth.Server/Pages/Auth.cshtml') diff --git a/VPNAuth.Server/Pages/Auth.cshtml b/VPNAuth.Server/Pages/Auth.cshtml new file mode 100644 index 0000000..5ac8efe --- /dev/null +++ b/VPNAuth.Server/Pages/Auth.cshtml @@ -0,0 +1,31 @@ +@page "/auth" +@model VPNAuth.Server.Pages.Auth + +@{ + Layout = null; +} + + + + + + VPNAuth - Auth + + +

Authorization

+

VPNAuth

+ @if (Model.ValidRequest) + { +
+

Do you want to log into @Request.Query["client_id"]?

+ +
+

You are logged in as @Model.User?.Username.

+
+ } + else + { + Invalid request. + } + + -- cgit v1.2.3