diff --git a/authentication/source/java/ch/systemsx/cisd/authentication/file/PasswordEditorCommand.java b/authentication/source/java/ch/systemsx/cisd/authentication/file/PasswordEditorCommand.java
index fecaebbd0eed64d5412a911725e0ef70ff4082f7..71f0fe5a6594b2ddcd621ba9f4d3b23b40ae701c 100644
--- a/authentication/source/java/ch/systemsx/cisd/authentication/file/PasswordEditorCommand.java
+++ b/authentication/source/java/ch/systemsx/cisd/authentication/file/PasswordEditorCommand.java
@@ -121,8 +121,8 @@ public class PasswordEditorCommand
                         password = readPassword(ENTER_NEW_PASSWORD_MSG);
                     }
                     final UserEntry user =
-                            new UserEntry(params.getUserId(), params.getFirstName(), params
-                                    .getLastName(), params.getEmail(), password);
+                            new UserEntry(params.getUserId(), params.getEmail(), params
+                                    .getFirstName(), params.getLastName(), password);
                     userStore.addOrUpdateUser(user);
                     break;
                 }