From 2aae5c2967a3a794221d4d9b5a5970cf4fbfefe3 Mon Sep 17 00:00:00 2001 From: Christian Date: Mon, 11 May 2026 10:49:04 +0200 Subject: [PATCH] =?UTF-8?q?PIN=20G=C3=BCltigkeit=20auf=202=20Tage=20verl?= =?UTF-8?q?=C3=A4ngert?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Service/ServiceImplementations/UserServiceImp.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Service/ServiceImplementations/UserServiceImp.cs b/Service/ServiceImplementations/UserServiceImp.cs index 6b238406d..e5ab89558 100644 --- a/Service/ServiceImplementations/UserServiceImp.cs +++ b/Service/ServiceImplementations/UserServiceImp.cs @@ -474,7 +474,7 @@ namespace BeWo.Service.ServiceImplementations else { supportPIN = y[0]; - if ((supportPIN.ExpirationDate < DateTime.Now) || (supportPIN.UsingDate.HasValue && supportPIN.UsingDate.Value.AddDays(1) < DateTime.Now)) + if ((supportPIN.ExpirationDate < DateTime.Now) || (supportPIN.UsingDate.HasValue && supportPIN.UsingDate.Value.AddDays(2) < DateTime.Now)) { //if (supportPIN.IsUsed.HasValue && supportPIN.IsUsed.Value) // result = UserValidationResult.PinAlreadyUsed;