Commit 219f69b0 authored by michael.simon's avatar michael.simon
Browse files

Show some kind of info, if account is disabled

parent ae43ca37
......@@ -115,6 +115,9 @@ public class PfNcMigrationRegisterWorkflow extends PowerFolderRegisterWorkflow
InfotainmentTreeNode node = new InfotainmentTreeNode("Migration User Info", root);
if ((answer.getUser() != null) && (answer.getUser().getId() != null)) {
if (answer.getUser().getEnabled() == null || answer.getUser().getEnabled() == false) {
new InfotainmentTreeNode("Message", "Account is disabled!", node);
new InfotainmentTreeNode("ID", answer.getUser().getId(), node);
new InfotainmentTreeNode("Name", answer.getUser().getDisplayName(), node);
new InfotainmentTreeNode("E-Mail", answer.getUser().getEmail(), node);
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