Questions tagged [logout]
The logout tag has no usage guidance.
62
questions
0
votes
2
answers
134
views
when logout Why i have to wait 5 second to redirect to homepage?
Would someone explain me for this feature please ?
I do ask GPT , it say "It is designed to prevent potential security vulnerabilities, such as session fixation attacks."
"This delay ...
0
votes
0
answers
105
views
Auto Logout From My Account Custom Tab
We are having issue related to auto logout after clicking on custom tab in my account.
Wu upgraded magneto from 2.3.2 to 2.4.3 .
Any suggestions or help please , I can share module code if any one ...
0
votes
3
answers
539
views
After Logout redirection
once we click on logout link, I need to be redirected to cart page /catalog page not home page,how can I proceed to do so. Thank you
1
vote
0
answers
192
views
Magenot 2 PWA app session time
I have a website, for which we are using PWA app, but the thing is ,I am unable to keep user logged in even after he close app.
how to achieve this goal?
0
votes
1
answer
774
views
How to delete cookies on auto logout?
we use have some configurations to some user groups (different prices, only some categories etc) and it's all good if the customer logout and login as a different group account, but when it auto logs ...
0
votes
0
answers
648
views
Magento 2 Customer session logsout automatically
We are in Magento 2.3.6 version. Recently on our website, we are facing customer session logout issues randomly.
Customer login redirects to the same login page without any session set.
Forgot ...
1
vote
2
answers
128
views
Magento logout from other website
I would like to extend the magento api so that a third party can, via web service or rest api, close the session of a client. Can you guide me on the steps that I should take? or some link with more ...
1
vote
1
answer
628
views
Magento2 Session Logsout when a person gets back from Payment Gateway
I am facing a very weird Issue in my M2 Store, whenever a user gets back from payment gateway after successful transaction, user automatically logs out from the session and land back on cart page with ...
1
vote
0
answers
111
views
How to turn login buttons into icons?
I need to remove the login and logout buttons and add an icon for this, an account icon, how can I make this change to my theme?
Basically I need to transform this ...
In that..
0
votes
1
answer
973
views
How to delete the cookie while customer logged out in magento 2
I wish to delete cookies while the customer clicked the log out button?
Can you please suggest us the best way to do it in magento 2
0
votes
2
answers
354
views
How to add custom html class to "Sign Out" button in magento 2
How to add custom HTML class to "Sign Out" button in magento2
0
votes
1
answer
355
views
How to show custom popup when customer click sign out button(want to show this popup for the customer once in a day) in magento 2
I have displayed a custom message in a popup for the logged out customer in Magento 2.
For example what I have done so far.
Once they click the "sign out" button, I have shown the popup to them.
But ...
1
vote
0
answers
67
views
Admin session time out issue in Magento 1.9
Admin Config settings:
System => Configuration =>Web => Session Cookie Management => set Cookie Lifetime 259200.
And
Go to => System => Configuration => Admin => Security => set
Session Lifetime ...
0
votes
1
answer
609
views
Magento 2 Multistore how to handle logout on same browser
I'm a Magento 2 newbie. In my site we have 2 store- default and wholesale.
Account Login to default store will be like this - http://example.com/customer/account/login/ and for wholsesale store http:/...
-1
votes
1
answer
109
views
Magento2.3.2: Fatal Error on Logout
When I tried to logout, it's showing one error.
Fatal error: Interface
'Webkul\Marketplace\Api\ControllersRepositoryInterface' not found in
/home/myusername/public_html/app/code/Webkul/...
3
votes
5
answers
4k
views
Magento2: How can I logout customer from controller?
In Magento 2, I want to write a custom controller. Whenever anyone tries to call the controller
URL (http://mymagento.com/mycontroller/index/index).
It should redirect to this controller an event ...
0
votes
0
answers
36
views
It's always making logout everytime i make an action
Every time I login with my account on the website an tries to make an action it will logout.
Example:
I will go to the login page and insert the username and password, and it redirects me to my info-...
0
votes
1
answer
418
views
Magento 2 logout using curl
As per my requirement i want to logout the customer using PHP curl.
for that I used the following code in my custom controller action(execute)
$lastCustomerId = $this->_customerSession->getId()...
0
votes
0
answers
389
views
magento 2 logout customer after successful registration works only first time
I have implemented this logic to logout customer after registration, Its only working before logging in a new user.
After clearing cache and when I register a user it logout the user and for second ...
0
votes
3
answers
2k
views
magento 2 logout customer after successful registration
I need to logout the user after successful registration. How can I achieve this,
Is there a admin settings in backend to do this.
0
votes
3
answers
1k
views
Magento 2 Logout after Registration
I need to logout a user after successful registration to login page.
I tried to redirect the user after registration by creating a observer customer_register_success but it dint work, When the ...
1
vote
0
answers
2k
views
Uncaught Exception: Warning: SessionHandler::open(): Cannot call session save handler in a recursive manner
I move my magento project from localhost to shared server. Now since mod_version was not installed and the hosting provider said that enabling the module was not covered of the plan. So I followed the ...
0
votes
0
answers
443
views
Delete custom cookie in logout observer not working
I have an observer which is triggered properly on customer logout. The observer's execute method looks like this:
public function execute(\Magento\Framework\Event\Observer $observer)
{
$this-&...
4
votes
1
answer
836
views
Add to cart not working in Magento 1.9
I have same issue in Magento 1.9
i'm using magento 1.9.3.2
Login to a customer accounts
Try to add something to the shopping cart and place an order
After order is saved go back to store and try to ...
1
vote
2
answers
1k
views
How to remove logout page
How to remove logout page 5 seconds when logout after?please help
using magento 2.2.4.
thank you!
5
votes
1
answer
277
views
After logout, customer name still shows in header beside Sign In link
The login user session is expired but in the header, the customer username is showing as logged in.
Please help me to resolve this.
5
votes
4
answers
2k
views
Magento 2.2.4 Customer are unable to logout
i´ve just installed a fresh Magento2 on my webspace to prepare the migration of my Magento 1.9.
I installed my theme (Infortis) and created my products and did the first test-salse. Everything fine......
0
votes
0
answers
310
views
After logout, customer name still shows in header
In my project I integrated magento 2 and codeigniter. After Login from Magento I can access codeigniter also. I saved the session into a file.
when I logout from codeigniter I will re-write the ...
4
votes
0
answers
55
views
Magento 2 : There is Different Class for When User Logs Out Due to Inactivity
I need to redirect customer to a different URL when is logged out automaticly.
I made a prefence for Magento\Customer\Controller\Account\Logout but it looks like, when the customer is logged out due ...
2
votes
2
answers
4k
views
Magento 2.2 keep logging out
My magento installation is keep logging out when login with admin account.
Sometimes 3 mins, some times 10 mins.
After log in, it shows:
All other open sessions for this account were terminated....
0
votes
1
answer
2k
views
Change logout redirect link to external page
After logging out from the account the user is redirected to a page that redirects to the CMS home page of magento.
I don't have that page and want to redirect to an external page instead.
But I can't ...
0
votes
1
answer
1k
views
How to put log in and log out option in header beside cart in magento?
I wants to change My Account to Log in Button in header beside cart option.
when user made log in then it should show log out option in header.
Please tell me the code with path.
1
vote
0
answers
195
views
Magento 2 : How to Debug Which Extension is Causing Early Session Timeout or Logout of Admin
I have a problem in admin section where I frequently get logged out at random intervals of time.
One thing that I am assured is that one of my extension is causing trouble but I could not find way to ...
6
votes
1
answer
9k
views
Magento 2: Force Sign-In not working
I'm already logged in the frontend of my website.
Then I go to Admin -> Customers -> Edit My Customer & Click on Force Sign-In
It gives below error
This customer has no tokens.
The user ...
1
vote
1
answer
1k
views
No items in shopping cart, but actually there is
After I added an item in the shopping cart, and I logged-out.
When I log-in again, there's no item in the shopping cart.
However, once I add another item in the cart, the previous one is shown ...
0
votes
2
answers
370
views
Admin logged out if autocomplete used in order create
We are getting logged out in the backend at sales > order > create if we use browser autocomplete in the billing address fields. To be more specific the loadBlock action returns ajaxExpired with and ...
3
votes
1
answer
2k
views
Logout customer when the browser is closed
In default Magento 2.0.7:
A customer is logged in, closes the browser, reopens the browser and he is still logged in.
But I would like to log out the customer when he closes the browser. He should ...
0
votes
1
answer
380
views
Magento check if customer logged in multistore
I have Magento 1.9.2.4 CE installed in one of my client's site which is multistore site.
Now I have following code in header file for checking whether a customer is logged in or not using session ...
1
vote
1
answer
947
views
How to redirect from observer in after logout in Magento 2?
I have created an observer for customer_logout event and on its observer, I want to redirect the customer to a specific page. how can be done ?
In Magento1.9.x as
$observer->getControllerAction(...
2
votes
1
answer
3k
views
How to logout customer
I am trying to logout user
I used following code
<?php
require_once 'app/Mage.php';
Mage::app();
Mage::getSingleton('customer/session')->logout();
?>
But it's not working
Please help me ...
0
votes
1
answer
286
views
Editing TopLinks via local.xml - changing LogOut and LogIn based on <customer_logged_in>
I can't seem to get Magento to react to the customer_logged_in or customer_logged_out tags in local.xml
The LogOut link does not display unless I remove the customer_logged_in tag then the link ...
9
votes
1
answer
3k
views
How to stay logged into Magento 2.0 longer
Magento 2.0.2 seems to log me out after 5 or so minutes of inactivity.
Is there a setting to keep me logged into the Admin backend longer? If so, where and how?
3
votes
2
answers
3k
views
Magento2: Custom Logout Observer with redirection
I'm implementing a SSO extension for Magento2. Right now I want to add an observer to the customer_logout event in order to execute a redirection to my custom logout endpoint.
I followed what is ...
3
votes
2
answers
1k
views
Remove logout page
Is it possible to bypass the logout page in Magento. I don't want to show the logout success page, want to show the current page
5
votes
2
answers
3k
views
Force log out of backend sessions?
I shared an administrator account with a 3rd party solution provider to debug one of the extensions installed in our store. Now that the problem is fixed I changed the account password.
However this ...
1
vote
1
answer
5k
views
Get logo url & alt in topmenu
so I'm trying to add the logo to the topmenu.phtml but <?php echo $this->getLogoSrc() ?>, and <?php echo $this->getLogoAlt() ?> don't work (they return null/nothing)
Is there a way ...
0
votes
3
answers
5k
views
Logout by programming from observer in magento 2
How to logout from customer session by programming from observer in magento 2?
1
vote
1
answer
2k
views
Change logout url link for some phtml pages
There is "Logout" link all over the site. If we click on Logout, it will redirect to this page.
http://sitename/customer/account/logoutSuccess/
but in some phtml pages for example , in below page
...
2
votes
1
answer
1k
views
redirect logout to phtml page instead of logging out
Log out option will be there in entire site and if we click on "LOg out".
it will log out the customer from the site.
but for some reason, if i click on log out , it should redirect to some link.
...
0
votes
2
answers
2k
views
remove My account and Logout links from some phtml pages
i have to remove "My account" & "Log out" links from some phtml pages.
for removing my account, i am using following code :
<marketplace_marketplaceaccount_myproductslist>
<reference ...