Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [login]

Denotes questions related to login (frontend, backend and api).

0
votes
0answers
4 views

Can't login to staging servers without deleting cookies first

We have multiple clones of our main shop for testing and developing. e.g. test1.mainsite.com, test2.mainsite.com, test3.mainsite.com ... There is a heavy issues with the cookies... Users very often ...
1
vote
1answer
997 views

How to show customer name after login in their account magento 2.1.1?

I want to show customer last name into my website when customer will access their account. <?php if( $isLoggedIn ) { ?> <li class="first"> <a id=...
0
votes
1answer
964 views

Validate Customer credentials in Magento 2

I'm trying to make a login of a user externally in PHP. Need to know which class should be used in Magento 2 to validate by Email & password and once validated, open the session. I'm dealing ...
0
votes
1answer
24 views

How to Force user to login to view catalog

I am beginner in Magneto and I have install magneto 2.1.15 using WAMP server. I want to force user to login first then redirect to home page to view catalog and other menu. Please suggest where ...
0
votes
4answers
999 views

Magento 1.9 customer can not login after SSL installation

I am using magento 1.9 version for my site. I have installed SSL coupe of days back after that customer are not able to to login to my website. I followed this solutions Can't log into Secure (...
3
votes
6answers
29k views

Can i change/add logo in magento login page and backend page ? How?

I have to change logo for existing magento login page and backend page with new one. Is there any function to change ? Here is login page image and backend page image :
1
vote
2answers
18 views

i cannot login to admin account username password everything correct but cannot login please help

I am Not log in to admin account Username And Password is Correct but cannot log please help.
1
vote
4answers
3k views

How to redirect to previous page after login?

I've set no on system configuration-> customer login configuration. But nothing's happen, it still direct to my account dashboard. How to redirect to previous page after login?
0
votes
1answer
564 views

How to change message position in magento 2

I want to show a message like error or success in below Login Button instead of page top in login page. How to change message position in below Login Button in Magento 2?
52
votes
18answers
55k views

How to check if customer is logged in or not in magento 2?

How to find if customer is logged in or not in Magento 2. If customer is logged in then how to get customer data from session?
10
votes
0answers
244 views

Separate login and Shipping methods from Shipping Step

I wanted to Separate login and Shipping methods from Shipping Step in Magento 2 on Checkout page ?
1
vote
2answers
59 views

How to override login.phtml in a custom module in magento 2 [duplicate]

How to override customer login.phtml file in custom module, whenever i try it not doing what I expected
6
votes
4answers
4k views

Magento 2 : override customer login.phtml file in custom module

I had developed "Hello world" extension in Magento 2. I want to override Customer login form of core files. What is correct way for overriding Customer login form file in Magento 2. I have coded ...
3
votes
0answers
200 views

Automatic Login in Magento 2

I have an application where the user logs in, and I have a web service where I can send the data. How can I get the user logged in automatically to the e-commerce with the data received?
3
votes
2answers
4k views

Magento 2 login customer programmatically without password

Need code for login customer programmatically without password in magento 2 enterprise edition? If I have customer email id and I want to login without password in magento 1.X by code Here the code: ...
1
vote
0answers
13 views

Custom login/account

I want to do a custom login form and account create form for "partners". I will have the default login for normal users and the custom one for the partners. Anyone has some pointers on how I could ...
2
votes
0answers
18 views

Magento 2.2: Ajax login is not working in Mozilla and IE

I added ajax login form in my custom theme and it's working fine in chrome but in Mozilla when I try to log in it redirects me to the same page. I am unable to log in. Here is my ajax code: <...
2
votes
2answers
31 views

How to remove Register link from the header and rename Log in Magento2.2.5?

I want to remove Register link from the header and rename Log in in Magento2.2.5? Refer screenshot. Any help would be appreciated.
0
votes
2answers
36 views

How to show customer first name and last name after logged in Magento2.2.5?

I want to show customer first name and last name after logged in Magento2.2.5? As default magento fetches the first name and last name after logged in. In my case, I have removed magento default ...
0
votes
0answers
28 views

Guest Cart vs User Cart Overwrite

We are currently having issues with the Guest Cart merging with the User Cart. Magento 2 Currently if the user shops as a guest and goes to the checkout and logs in; the items they recently added as ...
0
votes
1answer
34 views

Always show login form on checkout page [duplicate]

Currently, in Magento 2 the login form is visible only when I enter an email address, that only if there is an account on the system. I want to show the login form even if the user doesn't enter his ...
1
vote
0answers
21 views

Magento 2.2.5 log me out from the back-end

I get logged out when I am trying to work in the back-end, and I do not log from other devices! I tried to look the issue with "inspect" and I found this errors. And right after showing this error, I ...
4
votes
3answers
1k views

Weird behavior after login

I'm using Magento 2.0.2, I have this series of errors: In the Sign in page when I type in a wrong password I get redirected to the same page BUT I didn't see the expected "Invalid login" error ...
1
vote
1answer
1k views

Magento 2, force login on product and catalog pages

I have found this module : https://github.com/bitExpert/magento2-force-login and this topic : Force login to access catalog and product pages but I still think there must be a simpler solution, to ...
0
votes
2answers
598 views

Magento 2 : Programmatically Create Customer and Then Login

I am trying to create customer and then login programmatically. Below is my code : <?php use Magento\Framework\App\Bootstrap; require __DIR__ . '/app/bootstrap.php'; $params = $_SERVER; $...
2
votes
6answers
14k views

Magento login admin page FATAL ERROR / WHITE SCREEN

My Magento login admin page has a FATAL ERROR / WHITE SCREEN I've looked at the other questions which were similar but haven't been able to fix it. My site is at Problem: Attempts to Fix: Another ...
1
vote
1answer
68 views

Magento 2 - Auto login with specific URL

I have a custom module, I want to auto login a customer on it when the customer comes with an specific url like: www.example.com/myModule/?k=2sadf23wasdfde3wefsd34ss43545sdgasdfg/ I have the email ...
0
votes
1answer
24 views

After installing magento 2.1.17 admin login page cant display properly

After installing Magento 2.1.7, When I am trying to open the admin panel login screen is blank and my console contains an error.if anyone has a solution then please let me know. I check in this file ...
3
votes
3answers
1k views

Magento 2.1.7 customer login issue

when I try to log in as a customer to shop I got notice error: "An unspecified error occurred. Please contact us for assistance." When I register as a new customer to shop it seems to work ok - ...
6
votes
4answers
9k views

Programatically clear the cart of a logged-in user

TL;DR When a customer is logged in, Mage::getSingleton('checkout/session')->clear(); doesn't clear their cart. I need something that will. I've asked this as part of another question, but i ...
0
votes
0answers
52 views

AJAX login/register with Amasty_Fpc does not update full page cache

When you log in with an AJAX request, the full page cache is not updated when using Amasty_Fpc. This happens only on the page on which user log in. The problem is observed with many modules (for ...
2
votes
1answer
22 views

Magento2 ajaxsuite- ajax login

I want to show Ajax suit modules, Ajax login popup on cart page when press checkout button. right now, I used $('.modals-wrapper .popup-authentication').addClass("_show") and it shows magento2 ...
1
vote
2answers
596 views
0
votes
1answer
545 views

Magento 2.0 After migration Exisiting Customers can't log in

I am facing a very awkward scenario. I have successfully migrated settings, data and delta from Magento 1.9.2.2 to Magento 2.0.2. Now all the products and the admin sales records, customers records ...
1
vote
2answers
568 views

Magento2 : Add Password strength meter in login form

How to add Password strength meter in customer login form? <item name="authentication" xsi:type="array"> <item name="sortOrder" xsi:type="string">1</item> <item name="...
1
vote
1answer
601 views

Magento 2: Not Able to Login As A Customer

When i'm trying to Login As Customer, it gives below error a:4:{i:0;s:84:"Invalid method Magento\Framework\Session\Generic\Interceptor::isLoggedIn(Array ( ) )";i:1;s:11155:"#0 D:\wamp\www\smint\...
0
votes
0answers
85 views

Can not login with customer emai1 in magento2

I am getting below error in my log file when try to login. main.CRITICAL: No such entity with customerId = [] [] Tried below solution that didn't work. Magento 2 - Moving site - 'No such ...
5
votes
6answers
5k views

Magento keeps randomly logging me out of the admin panel

I am new to Magento, and have some issue with the admin panel. For some reason, I keep being disconnected from the admin panel, which makes it really hard to change what I want on the website, as I ...
3
votes
1answer
4k views

Call default Magento 2 authentication popup from a custom module

I would like to call the existing authentication modal popup built into Magento 2 from a custom module. It must already be in the body somewhere since it can readily be called by clicking the checkout ...
0
votes
0answers
16 views

Inline validation error in login form Magento 2

Right now, I am getting a global error message for wrong email/password`. I want it to be an inline error message instead of a global message. Like this. Right LoginPost.php sets error message , i ...
0
votes
2answers
657 views

Customer Session not working on full page cache in magento2

This is my code below $objectManager = \Magento\Framework\App\ObjectManager::getInstance(); $customerSession = $objectManager-create('Magento\Customer\Model\Session'); if ($customerSession-&...
0
votes
0answers
20 views

How to restrict navigating to other page from a customer magento page

I am working on a module that implements two factor authentication. I have created an observer to the event customer_login , so just after when the customer has logged in, they are directed to a ...
2
votes
1answer
34 views

Magento 2.3 admin login not working-cleared cache and different browsers

I have an install of Magento 2.3 with the pearl theme installed. It's on a light sail instance (Ubuntu). I was changing some settings (the bug with not being able to upload logos) and then when I ...
3
votes
0answers
253 views

Magento logins to another customer account (mixed accounts) [closed]

Some customers are reporting a bug that when they login to their account are redirected to another random customer account where they can see all the other customer data (orders, addresses, everything)...
0
votes
1answer
573 views

Frontend Cannot login after SSL installed

We installed SSL and got the https:// working on our magento 1.9.2 site however we can only login once when we clear our cookies. We can not logout and then log back in again...When we press login it ...
10
votes
1answer
1k views

Frontend form key is being overwritten

I am currently having issues with frontend forms where the form keys are somehow being overwritten and displaying incorrect form keys. I am currently debugging this issue on the customer login form. ...
3
votes
1answer
32 views

Referrer URL in modal login form

I currently have a login form which opens when a customer clicks a link in the header (instead of going off to /customer/login). Apart from a few field ID's, it's pretty much unchanged from customer/...
3
votes
1answer
640 views

Disable “add to cart” for Guest User

How can I Disable the "add to cart" when user is not logged in.
1
vote
1answer
699 views

How to Set Meta description login page

I was woundering if any could help me find a way to set the Meta description for the customer/account/login page? Cant find an xml file where I can change it and not sure how to do it in the login....
0
votes
1answer
780 views

Magento2 Restrict Store view to a customer group

I need to restrict 1 storeview to a customer group and require login. Any suggestions?