Skip to content
Snippets Groups Projects
Commit eab9b0cb authored by Felix Sidokhine's avatar Felix Sidokhine
Browse files

fixed some typos

parent a8a38ab5
No related branches found
No related tags found
No related merge requests found
......@@ -37,7 +37,7 @@ public class RegisterUserFlow {
return false;
}
datastore.getUserDao().storeObject(user);
log.info("Create the user " + user.getUsername() + " because he did not exist before!");
log.info("Created the user " + user.getUsername() + " because he did not exist before!");
return true;
}
}
......@@ -125,6 +125,7 @@ public class UserAuthenticationModule implements AuthenticationModule {
user.setAccessLevel(AccessLevel.USER);
user.setRealm(key.getRealm());
user.setUserType(key.getType());
//This is legal with a null ONLY because in this case there is no relation with a external server.
RegisterUserFlow.createUser(user,null);
return tokenController.getToken(user);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment