Skip to content
Browse files

RegisterController: разрешаем менять профиль с заблокированного IP ес…

…ли разрешен постинг зарегистрированным
  • Loading branch information...
1 parent b8113f0 commit 86c3505e554b5b2be6e21ac1d5da09cc9e6b374b @maxcom committed Apr 19, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/java/ru/org/linux/user/RegisterController.java
View
2 src/main/java/ru/org/linux/user/RegisterController.java
@@ -191,7 +191,7 @@ public ModelAndView doRegister(
}
IPBlockInfo ipBlockInfo = ipBlockDao.getBlockInfo(request.getRemoteAddr());
- ipBlockDao.checkBlockIP(ipBlockInfo, errors, null);
+ ipBlockDao.checkBlockIP(ipBlockInfo, errors, tmpl.getCurrentUser());
boolean emailChanged = false;

0 comments on commit 86c3505

Please sign in to comment.
Something went wrong with that request. Please try again.