1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-06-16 14:50:48 +03:00

fix captcha

This commit is contained in:
Mzhelskiy Maxim 2014-01-26 20:56:00 +07:00
parent 86ac05e205
commit e49afcb41f
2 changed files with 5 additions and 1 deletions

View file

@ -91,6 +91,10 @@ class ActionLogin extends Action {
return;
}
$bRemember=getRequest('remember',false) ? true : false;
/**
* Убиваем каптчу
*/
unset($_SESSION['captcha_keystring_user_auth']);
/**
* Авторизуем
*/

View file

@ -177,7 +177,7 @@ class ActionRegistration extends Action {
/**
* Убиваем каптчу
*/
unset($_SESSION['captcha_keystring']);
unset($_SESSION['captcha_keystring_user_signup']);
/**
* Подписываем пользователя на дефолтные события в ленте активности
*/