When merging users remove the email from the user to be merged
This commit is contained in:
parent
35fe6a75fe
commit
c1d473f8d4
|
@ -90,6 +90,7 @@ public class MergeEmailConfirmationManager {
|
|||
databaseRepository.getUserDmpDao().createOrUpdate(userDmp);
|
||||
});
|
||||
oldUser.setUserStatus((short)1);
|
||||
oldUser.setEmail(null);
|
||||
databaseRepository.getUserInfoDao().createOrUpdate(oldUser);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue