add verified email
All checks were successful
deploy / deploy (push) Successful in 17s

This commit is contained in:
Denys Konovalov 2023-12-22 18:31:12 +01:00
parent 92f8d7b25a
commit 5c603cd46f
Signed by: Denys Konovalov
GPG Key ID: 0037E1B0E33BD2C9
3 changed files with 4 additions and 2 deletions

@ -1,3 +1,4 @@
{
"java.configuration.updateBuildConfiguration": "interactive"
"java.configuration.updateBuildConfiguration": "interactive",
"java.compile.nullAnalysis.mode": "automatic"
}

@ -8,7 +8,7 @@
<groupId>de.cantorgymnasium</groupId>
<artifactId>keycloak-mailcow</artifactId>
<version>1.0.0</version>
<version>1.0.1</version>
<packaging>jar</packaging>
<properties>

@ -65,6 +65,7 @@ class mailcowUser extends AbstractUserAdapter {
MultivaluedHashMap<String, String> attributes = new MultivaluedHashMap<>();
attributes.add(UserModel.USERNAME, getUsername());
attributes.add(UserModel.EMAIL, getEmail());
attributes.add(UserModel.EMAIL_VERIFIED, "true");
attributes.add(UserModel.FIRST_NAME, getFirstName());
attributes.add(UserModel.LAST_NAME, getLastName());
attributes.add("domain", getDomain());