pForm.setPassword2(user.getName());
dao.addUser(pForm);
user = dao.getUser(pForm.getLogin(), pForm.getPassword());
if (user.getStatus() == UserStatus.GUEST) {
session.setAttribute(IConst.SESSION.USER_KEY, user);
throw new LogicException(getResources(request).getMessage(
"errors.ERR22")
+ user.getName());
}
user.setIp(request.getRemoteAddr());
forward=IConst.TOKEN.WELCOME;