From ebe0d677803c3c74a7bd970cdb69220a5649e448 Mon Sep 17 00:00:00 2001 From: _Bastler Date: Tue, 2 Jan 2024 16:35:09 +0100 Subject: [PATCH] hotfix permissions --- .../main/java/de/bstly/we/businesslogic/PermissionManager.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/src/main/java/de/bstly/we/businesslogic/PermissionManager.java b/core/src/main/java/de/bstly/we/businesslogic/PermissionManager.java index 1918a36..cb64d79 100755 --- a/core/src/main/java/de/bstly/we/businesslogic/PermissionManager.java +++ b/core/src/main/java/de/bstly/we/businesslogic/PermissionManager.java @@ -441,7 +441,8 @@ public class PermissionManager implements UserDataProvider { permission.setAddon(permissionMapping.isAddon()); permission.setStarts(permissionStarts); permission.setExpires(permissionsExpires); - logger.debug("expires here: " + permission.getExpires()); + logger.debug("now: " + Instant.now() + "\nstart: " + permissionStarts + "\nexpires here: " + + permission.getExpires()); } else { if (permission.getExpires() == null || permission.getExpires().isBefore(Instant.now())) { permission.setExpires(Instant.now());