Stack Exchange Network

Stack Exchange network consists of 174 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
1answer
12 views

Magento 2 customer CAPTCHA Login Not Showing Up

I have added all possible captcha forms in Stores->Configuration->Customers->Customer Configuration->CAPTCHA see screen shoot bellow: Clear cache,flush yet the login page doesn't show it. ...
0
votes
0answers
28 views

Magento 1.9.3 Customer Login Internal Server Error

After some reports of customers, I found a strange behavior. These customers receive an internal server error page while accessing their account. I found that these errors in the server's errror_log: ...
0
votes
1answer
18 views

In Magento 2.2.5, Login link is displaying even customer loggedIn

In Magento 2.2.5, I am checking the customer is logged in or not in order to display the login link in case if he is not logged in. If he is logged In means I need to display the My Account link. ...
0
votes
0answers
8 views

Login page (Frontend and Admin) - Explain cause of error

I run a few shops on Magento 2 and I've had many people claim that their account was temporarily disabled. Most of the time when I check this, they are not locked out and it ends up that they got ...
1
vote
1answer
26 views

Fresh Magento 2 install admin does not give login box

I'm fairly new to Magento 2 and have been attempting to add a copy on my local machine (operating system: Windows 10) so that I can try out some database migration tests. I have installed XAMPP and ...
0
votes
0answers
14 views

Login session does not work

I am trying to use login session on magento/catalog/view/base/templates/product/price/amount/default.phtml to hide price from users not logged in. However, it seems not working well with $...
0
votes
0answers
24 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
2answers
59 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
0answers
34 views

Access denied problem after login

I'm using 2.3 centos7 vpserver I have Access denied in domaine.com/index.php/customer/account/ after login ? How can fix it, please help! exception.log [2018-12-30 18:27:04] main.CRITICAL: ...
0
votes
0answers
12 views

controller_action_predispatch is not observing after logout

I am performing a logout function if user is not approved. So I created observer controller_action_predispatch which will trigger in all pages so that it will check the approval if not it will logout ...
0
votes
0answers
20 views

Disable customer registration and login

First post on the forum. Is there a way to completely remove customer creation and registration, so when checking out, we go directly to payment, without having to log in or register?
0
votes
0answers
22 views

Magento 2 loginPost error

When I login in Magento 2 I get this following error. Fatal error: Uncaught TypeError: Argument 1 passed to Magento\Customer\Controller\Account\LoginPost::__construct() must be an instance of ...
1
vote
1answer
23 views

route shows user login page title

In one Magento 2.2.6 instance something very odd occurs: the meta page title shows <title>Customer Login</title> and the page title in the content also shows Customer Login - even though ...
2
votes
1answer
51 views

Magento2 : how to change admin startup page programmatically

I want to change landing page of admin based on some condition how can I achieve this ?
0
votes
0answers
8 views

Dual CMS setup login to Magento from primary site

We have a dual setup for our website, most of the site is served up on another CMS but the commerce side is all Magento 2. The primary CMS doesn't have any frontend logins for users but we need to ...
0
votes
1answer
18 views

How to Create Custom Social Login In Magento2

I want to create social login in magento2.I want to add google and facebook as social login.Could anyone explain me how to add this functionality in magent2 without using any extension. I dont want to ...
0
votes
2answers
155 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 ($...
0
votes
0answers
18 views

Magento 1.9.3.1 customer login issue?

In Magento 1.9.3.1 customer is not able to login .Added the form key in login.phtml file and changed the Admin>System>configuration>General>Web>Session Cookie Management values also.But its not able ...
0
votes
1answer
20 views

Creating Single Sign-on - Logging in admin throws “Your current session has been expired.”

I am working on SSO for the Magento admin. Everything below appears to work through the processLogin() event (which is triggered by the controllers execute() method. Once processLogin() is returned, ...
0
votes
1answer
44 views

Customer login error magento2

I have used reset password and changed the password. When try to login with the new password i changed from the forgot password link. Getting below error. You did not sign in correctly or your ...
0
votes
0answers
28 views

Login redirects to login page instead of login

For a few days, the login and register in our shop do not work. A login will be directly redirected to the login page instead of logging in the user. Form_key is set. The action of the login form ...
0
votes
0answers
55 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 ...
0
votes
0answers
27 views

Is there any possibility to login Magento 2 front-end customer through Rest API

I'M trying login Magento-2 front end customer through rest api but if browse api url through browser then only the customer logged in, and if excute that api through php script then the customer not ...
0
votes
1answer
56 views

Magento2: How to delete cookies programmatically?

I want to delete cookies programmatically before as login customer.
2
votes
1answer
35 views

customer not logged

I'm building rest api to get data based on customer session, but it always returns false when I call isLoggedIn() function that's my module.xml: <?xml version="1.0"?> <config xmlns:xsi="...
0
votes
1answer
28 views

Magento 2: Is it possible to have two stores with different views and same login for customers?

I'm trying to create two store with different views and same login for customers. I read about configuring multiple stores with same backend admin panel. And I would like to create the same logins for ...
0
votes
1answer
125 views

Magento 2 login popup

I have a client login popup on my page with the form action="<?= $block->escapeUrl($block->getPostActionUrl()) ?>" How can I change this so the form will not redirect to the account ...
1
vote
0answers
17 views

Magento 2. Log Out the Customer from all other machines

The customer should be logged out from all other machines at login. Is this something that Magento offers? How would I achieve this? Some pointers where to start from | Where to look. I'm not ...
0
votes
0answers
63 views

Remove email from shipping address on checkout Magento2

I want to completely remove email input on guest checkout. I am getting customer email before checkout with custom module and saving it in session. I want to use that email address as guest email. ...
0
votes
1answer
22 views

magento 2 cant login via admin despite following several threads

i have a real stumper, i cannot access admin despite knowing the password is correct i have followed the magento 2 steps to reset password via email - i dont get the email resend request I have done ...
2
votes
1answer
21 views

Make “login page” to be a homepage | Don't allow customers to view the website without being logged in

How can I make the login page my homepage? With no header/footer or any exit links. So customer has to login or register if he wants to access my website. If customer is not logged in, the website ...
0
votes
1answer
33 views

Connect with login and password magento 2

I added a new attribute "login" to my customers. I want to allow them to login with a Username and Password instead of using the normal way of using Email and Password.
0
votes
1answer
25 views

How to add customer account login to custom module page

I have custom module that registers customers for an event/product. I created a page that displays the registration form from my module. The link to the registration page is in the footer. When a ...
0
votes
1answer
30 views

Magento Login 2.2

I put my login in my Modal, that automatically pop-up, but it doesnt work on chrome, But when I try in mozilla it works, Any idea why? Thanks in advance.
0
votes
0answers
17 views

Magento 2 : conflit between admin and customer sessions

I developed a multi-store Magento website : mydomain.com/admin/ (use to connect to admin) one.mydomain.com two.mydomain.com When I'm logged in as an admin user I can't log in as a frontend customer ...
1
vote
4answers
55 views

Magento2: How to login as customer frontend side?

I want to log in as customer frontend side. I have created a customer listing page. But when I click on customer login button customer login without login details. My Magento v2.0.17
0
votes
2answers
115 views

Force login to catalog and product pages in magento 2 custom theme

I have found this module : https://github.com/bitExpert/magento2-force-login But this show errors in Frontend - 1 exception(s): Exception #0 (ReflectionException): Class BitExpert\...
2
votes
1answer
182 views

Magento 2: How to change the error/validation message in the customer login page?

I'm trying to override the error message that shows when a user inserts a wrong password/ wrong email. You did not sign in correctly or your account is temporarily disabled. Where and how i can ...
0
votes
0answers
20 views

Custom button to check for login else redirect to login page and then successful login should redirect back to the button functionality

I am adding a button in product view page clicking to which will show a modal having customer data. Once customer click on that button, my all functionalities is working fine but if guests are ...
1
vote
2answers
113 views

After installing a module, I can't login to my back-end

I can get to the login page, but as I am trying to login, I am getting this error: Fatal error: Uncaught Error: Call to a member function getNext() on null in /home/geekcoreco/public_html/generated/...
1
vote
1answer
58 views

Magento2 Two factor authentication for Frontend

Do you guys know where to purchase or download M2 2FA ext for FRONTEND (or both frontend and admin)
3
votes
3answers
39 views

Magento 2 - Check if user is loggen in header.html [duplicate]

I'm trying to create a piece of code to check if the customer is loggen in or not. I read not to use the objectmanager for that, but I don't know where to put which code. What I need: if customer is ...
1
vote
0answers
59 views

Magento 2 how to login user in specific store programmatically

How can I login customer in specific store programmatically in Magento 2? I've tried to override execute method of Magento\Customer\Controller\Account\LoginPost and did something like this: $this-...
0
votes
0answers
74 views

Magento 2.2.5 customer login not working

Working on a new Magento2.2.5 install and when I test logging into the site as a customer the magento signin page just reloads with no error message shown. However in the admin panel I see my test ...
2
votes
1answer
49 views

Magento 2 customer login not working on my centos 7 server but works in test server

Magento 2 login is not working as expected on my centos 7 server. If i enter wrong credentials into the login form and hit submit, the page refreshes and the following happens: 1. No error message is ...
1
vote
0answers
31 views

Login as a customer from custom table in magento 1.9? [closed]

I want to login with custom field from custom table in magento 1.9, how to manage session,cookies and every default functionality for custom login user.Thank you
1
vote
0answers
22 views

User Login only in Firecheckout possible

a customer just complaint he cant login..... When I open the Page and try to Login....it not possible, I will be redirected to the Login Page. Amazon Login same error. With Google Login, no Errors. ...
0
votes
2answers
26 views

Loging on frontend failed with no errors

For a few hours I could not login on frontend. (on local domain https://www.magento2.loc, magento 2.2.5, developer mode). If I enter wrong username or password, yes, I receive error message. With ...
4
votes
2answers
36 views

Log User in programatically for Magento 2 (via Contoller)

I have a process in Magento 1 to log user in using the below; $session = Mage::getSingleton('customer/session'); $email = $this->getRequest()->getParam('email'); $password = $this->...
4
votes
4answers
112 views

How to redirect customer from controller not observer to login page magento 2

I want to redirect customer to login page in my controller without using observer. here is my code protected $urlInterface; public function __construct( \Magento\Framework\App\Action\...