From 5d37238a44ca56650202613ce1489ccc239a3e75 Mon Sep 17 00:00:00 2001 From: Paul Schneider Date: Sun, 5 Jul 2026 19:41:07 +0100 Subject: [PATCH] fixes the API key creation --- src/isnd/Controllers/ApiKeysController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/isnd/Controllers/ApiKeysController.cs b/src/isnd/Controllers/ApiKeysController.cs index bbc2d21..fc5c278 100644 --- a/src/isnd/Controllers/ApiKeysController.cs +++ b/src/isnd/Controllers/ApiKeysController.cs @@ -65,7 +65,7 @@ namespace isnd.Controllers return View(); } ApiKey newKey = new ApiKey { UserId = userid, Name = model.Name, - CreationDate = DateTime.Now }; + CreationDate = DateTime.UtcNow }; _ = dbContext.ApiKeys.Add(newKey); _ = await dbContext.SaveChangesAsync(); return View("Details", new DetailModel { Name = newKey.Name,