Возврат на правильную страницу после логина
This commit is contained in:
parent
f3d468fb64
commit
4810904059
|
|
@ -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()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue