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

add twofa fields to identity on user creation

parent 420c7176
......@@ -16,6 +16,7 @@ import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import java.util.UUID;
import javax.ejb.Stateless;
import javax.inject.Inject;
......@@ -147,6 +148,10 @@ public class UserCreateServiceImpl implements UserCreateService {
IdentityEntity id = identityDao.createNew();
id = identityDao.persist(id);
id.setTwoFaUserId("idty-" + id.getId());
user = samlUserDao.persist(user);
Supports Markdown
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