diff options
author | Tim <contact@bytim.eu> | 2025-04-19 19:33:04 +0200 |
---|---|---|
committer | Tim <contact@bytim.eu> | 2025-04-19 19:33:04 +0200 |
commit | 6a9657a10dc5ef3c4dfddf222284eec6c933ac83 (patch) | |
tree | a2b939a2e51ad04dd2635126be27d66c781666dd /VPNAuth.Server/Pages/Auth.cshtml.cs | |
parent | ff9b1e112ed14746ed74dfff1fb4c19efd5502d4 (diff) | |
download | VPNAuth-6a9657a10dc5ef3c4dfddf222284eec6c933ac83.tar.xz VPNAuth-6a9657a10dc5ef3c4dfddf222284eec6c933ac83.zip |
Diffstat (limited to 'VPNAuth.Server/Pages/Auth.cshtml.cs')
-rw-r--r-- | VPNAuth.Server/Pages/Auth.cshtml.cs | 3 |
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(); } |