From ecb8d9bda7769aed0d8c1bf3489b14b36cadcab5 Mon Sep 17 00:00:00 2001 From: Denys Konovalov Date: Fri, 22 Dec 2023 18:43:06 +0100 Subject: [PATCH] fix verified email --- .../java/de/cantorgymnasium/auth/provider/user/mailcowUser.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/de/cantorgymnasium/auth/provider/user/mailcowUser.java b/src/main/java/de/cantorgymnasium/auth/provider/user/mailcowUser.java index 5d8b50b..e851b53 100644 --- a/src/main/java/de/cantorgymnasium/auth/provider/user/mailcowUser.java +++ b/src/main/java/de/cantorgymnasium/auth/provider/user/mailcowUser.java @@ -65,7 +65,7 @@ class mailcowUser extends AbstractUserAdapter { MultivaluedHashMap attributes = new MultivaluedHashMap<>(); attributes.add(UserModel.USERNAME, getUsername()); attributes.add(UserModel.EMAIL, getEmail()); - attributes.add(UserModel.EMAIL_VERIFIED, "true"); + attributes.add(UserModel.EMAIL_VERIFIED, Boolean.toString(true)); attributes.add(UserModel.FIRST_NAME, getFirstName()); attributes.add(UserModel.LAST_NAME, getLastName()); attributes.add("domain", getDomain());