Commit b9a3f141 authored by michael.simon's avatar michael.simon
Browse files

create 2fa username for oidc users

parent bcab1880
......@@ -15,6 +15,7 @@ import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.UUID;
import javax.ejb.Stateless;
import javax.inject.Inject;
......@@ -174,6 +175,10 @@ public class OidcUserCreateServiceImpl implements OidcUserCreateService {
IdentityEntity id = identityDao.createNew();
id = identityDao.persist(id);
id.setTwoFaUserId("idty-" + id.getId());
postCreateUserInternal(user, attributeMap, executor, auditor);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment