-
- pierzu

-
Total Posts: 4
Joined: 2013-01-01
|
Hi
I have problem with logging in.
When i log in (by ajax), everythinh is ok, ajax relod block showing log out instead of log in, but when i reload page, there is again log in, not - log out button. Ok, so i try to login one more time, but now my ajax controller tell that i’am already logged in, but how?
My block tells me that i’m not logged in:
$this->helper('customer')->isLoggedIn()
My controller tells me that i’m logged in:
$session->isLoggedIn()
How it is possible? What’s the problem?
---
update
Ok, problem was, because i didnt call parent:preDispatch in my overriden account controller.
But, when i call it, i have 302 code in my new actions…
|