Возврат на правильную страницу после логина

This commit is contained in:
Krivchikov Dmitry 2014-11-15 14:25:11 +03:00
parent f3d468fb64
commit 4810904059
1 changed files with 1 additions and 1 deletions

View File

@ -140,7 +140,7 @@ class IndexController extends Controller
} }
App::userLogin($user); App::userLogin($user);
App::redirect('/'); App::redirect($_SERVER['HTTP_REFERER']);
} }
static function actionSitemap() static function actionSitemap()