summaryrefslogtreecommitdiff
path: root/VPNAuth.Server/Pages/Auth.cshtml.cs
diff options
context:
space:
mode:
Diffstat (limited to 'VPNAuth.Server/Pages/Auth.cshtml.cs')
-rw-r--r--VPNAuth.Server/Pages/Auth.cshtml.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/VPNAuth.Server/Pages/Auth.cshtml.cs b/VPNAuth.Server/Pages/Auth.cshtml.cs
index bdcbc59..1f75492 100644
--- a/VPNAuth.Server/Pages/Auth.cshtml.cs
+++ b/VPNAuth.Server/Pages/Auth.cshtml.cs
@@ -44,7 +44,8 @@ public class Auth : PageModel
Scopes = Request.Query["scope"].ToString().Split(" ").ToList(),
CodeChallenge = Request.Query["code_challenge"]!,
CodeChallengeMethod = Request.Query["code_challenge_method"]!,
- Accepted = false
+ Accepted = false,
+ Username = User!.Username!
});
db.SaveChanges();
}