We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [login]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
17 views

Redirect user to login page from store Magento 1.9

I'm trying to rediect the user to login page after the store is opened the url for the store is e.g mysiteabc.com/store1 I want the user redirect to login page if he/she visits the store 1 I am ...
0
votes
0answers
15 views

How to validate unique phone number field(like email) in magento 2 registration form?

I am using email or phone number login option Magento 2.I added phone number field below the email and I need to validate phone number to be unique like email in Magento 2.How can I programmatically ...
0
votes
0answers
22 views

Alternative login & new account page

I'm trying to have two different pages with login and "create new account" forms. One is for normal accreditation and the other should be used as a special landing page. The first idea I've had was ...
-1
votes
0answers
24 views

Customer and admin login not working in magento 2.3.2

I have get client staging server code and database. Project is running but customer login, customer create account, admin login is not working. When I login just page refresh and nothing happen. ...
0
votes
4answers
39 views

How to change text “sign in” to “Login” in top header

I want to rename text "Sign in" to "Login" in my header top. Please refer attached file.
0
votes
0answers
19 views

Magento 2 Redirect customer to login page (if not logged in) on click of 'Proceed to checkout' instead of showing login in authentication popup

I want to redirect customer to login page instead of showing auth popup if customer is not logged in and guest checkout is disabled.
0
votes
0answers
30 views

Argon2i Error - Magento 2 Login

When logging into Magento 2 for the first time following install, I am getting this error: Exception #0 (SodiumException): This is not implemented, as it is not possible to implement Argon2i with ...
0
votes
0answers
8 views

Magento2 : How To Access Custom Parameter's of Admin Url in admin login page

this is my admin url : http://127.0.0.1/m2-test/index.php/admin?username=test and i want to access username value in admin login.phtml i have tried with $_GET["username"] but it will return nothing ...
0
votes
0answers
24 views

Magento 2: Unregistered User does not get proper error message while signing in

If the user is not yet applied for the registration and he tries directly trying to log in on our website it shows the message like "This account is not confirmed". Instead of displaying this message ...
1
vote
1answer
35 views

Magento 2: Check the status before customer login

I have to add a user is active or not check before the user login for any place in my site. How can I do it? I mean which module or function need to override in my site. Please help me to solve this ...
0
votes
0answers
15 views

External application - Magento 2 login

Do you know if it's possible to use the customer login that I have in my Magento 2 store in an external application? I would like to have one login database for all my applications. Thanks
2
votes
0answers
17 views

Magento2 custom referer URL redirects to correct URL but again redirects to My Account in few seconds

I have created a custom URL with referer like this: use Magento\Framework\UrlInterface; use Magento\Framework\View\Element\Template; public function __construct( Template\Context $context, ...
1
vote
0answers
25 views

How to change authenticate method: Magento 2

I have create my NewLoginPost Controller action with extends LoginPost in the execute function i call to authenticate method where i pass (email, password). $customer = $this->...
1
vote
1answer
45 views

Can't login to Magento 2 Admin… Constantly asking for CAPTCHA

Having issues attempting to login to the back end of my M2 store. My login is correct, but when I attempt to login, I get an incorrect CAPTCHA message (even though there was no CAPTCHA on the initial ...
1
vote
0answers
28 views

Guests cannot able to log in on my site

I am using Magento 2.2.2. A few days ago, several guests (not all guests) could not log in to my website. After entering the username and password, the guest has been waiting for about 10 minutes. ...
0
votes
0answers
37 views

Login With Snapchat Magento2

I want to provide an option for Login With Snapchat Magento2. The way we have login with facebook / Linkedin / google+. Similarly, I am looking for Login With Snapchat Magento2.
0
votes
0answers
13 views

Create an external webapplication login interface for Magento2

i would like to create an interface for logging in for magento. For this reason, customer should login on my web application and then, should be authenticated on the magento application. I tried ...
0
votes
1answer
17 views

Item (Mage_Sales_Model_Quote_Address) with the same id “0” already exist

I am trying to debug this error which happens whenever i try to register or login. Trace: #0 /var/www/vhosts/hitechsoft.eu/httpdocs/demosite/shishavillage/lib/Varien/Data/Collection/Db.php(576): ...
1
vote
2answers
38 views

M2 | How to Get Logged in customer ID in Model class?

I need customer ID in Model class as I am creating custom API. I can get customer ID in Controller as well as in Block class by all below ways: Injecting in constructor \Magento\Customer\Model\...
-1
votes
3answers
176 views

Magento 2 - How to check if an User is logged in?

I want to check if a user is logged in. Because I need to access customer-specific information. Thanks for your help.
0
votes
0answers
30 views

region is a required field on login page magento 2

The region is a required field on login page Magento 2 When the customer tries to log in on-site its throw region is a required field error.
0
votes
1answer
28 views

cannot login to admin after seemly successful installation

when I try to login to admin panel, the following error occurred There has been an error processing your request Exception printing is disabled by default for security reasons. Error log record ...
1
vote
1answer
64 views

Magento 2.3.2 : Old Customer are not able to login

I have the same issue after migrating from 1.14.0.1 to 2.3.1 to 2.3.2 server2@server2-MS-7636:/var/www/html/Project1$ php bin/magento customer:hash:upgrade PHP Fatal error: Uncaught TypeError: ...
0
votes
0answers
26 views

Magento 2 : In custom login extension Default welcome message not changed

I am working with custom extension. When I login with custom extension login page I am not getting customer name in the top right side instead of default welcome message. I want name of customer who ...
0
votes
1answer
42 views

Allow customer to login only if they accept terms & condition

Allow user to access his account only if accept Terms and Condition on its first log in. Sign in the agreement copy with the name or email id. Can any one tell me how can I achieve this. Any help ...
0
votes
2answers
85 views

Magento2: How to trigger a popup when click on My Account header link?

I want to show a popup when click on My Account header link. As I could not find any phtml file for My Account. Please anybody help me on this. Any help would be appreciated.
0
votes
1answer
30 views

Magento 2 custom login page

we made a totally custom login page in our Magento 2.2 on form submit, we send the credentials to a custom php page. In the custom page we get $_POST['email'] and $_POST['password']. How to trigger ...
1
vote
0answers
33 views

Magento: frontend user login not working till 24 hours

A newly registered user is not able to log in to Magento site. Magento version is 1.9.4. I tried many methods but none of them works. Initially, the store has version 1.9.1 but it was upgraded to 1.9....
2
votes
1answer
52 views

Customer Login to Magento2 without triggering event 'customer_login'

How to login a user with an E-mail to magento2 site without triggering event customer_login. Actually, I am able to login with email using customer session but the customer session also triggers the ...
1
vote
1answer
30 views

Magento 2 - How to create a module that adds a flag to the product and restricts adding it to the cart before logging in?

I'm new to magento 2 and would like to know if it is possible to make a module that generates flags on products with purchase restriction? For example, the product can only be added to the cart when ...
1
vote
0answers
31 views

Customer login is not working before 24 hours of registration in magento 1.9

I have a Magento 1.9 site and the customer login is not working before 24 hours of registration. Before 24 hours of registration, when I try to login with correct credentials it redirects me to the ...
0
votes
0answers
14 views

Session lost after click Reviews Management in magento 2.2

Now, I using Magento 2.2. When I log in to the backend and click Marketing -> Reviews. After website load grid success. And click edit review or refresh website, then I lost session and website ...
0
votes
1answer
45 views

Magento 2 admin login redirection loop

Magento 2.2.4 Store set up on subdomain: dev.store.com SSL Config variables: web/unsecure/base_url - https://dev.store.com/ web/unsecure/base_web_url - {{unsecure_base_url}} web/unsecure/...
2
votes
2answers
41 views

Observer to fire on customer login Page Url (baseUrl.“customer/account/login”) magento 2

I want to fire observer on customer login Page url(baseUrl."customer/account/login") magento 2. I tried customer_login event but it's firing after customer login. etc/events.xml <?xml version="...
0
votes
0answers
36 views

How to print custom text in login page ? Magento 2

This code checks whether the customer status is suspended, then the customer cannot log in and returns to the login page, but I need to print his status or any text after or before login form or ...
0
votes
2answers
33 views

How to get customer data from a table before logging in? magento2

I need to check the status of the client (user data), if it is not active then ignore the login to the system
0
votes
1answer
27 views

Hide toggle link for logout in header magento2

Once logged in customer name will be shown with arrow beside it. After clicking arrow a logout link appears. My requirement is to remove that click action. Directly can we show Logout link in ...
1
vote
2answers
146 views

How to add user in magento by custom code?

I am trying to log in and register by Facebook and Gmail. So I need to help how to create a user by custom code. There are two kinds of social media login I want to use.
1
vote
1answer
49 views

How to login Magento 2 from external web application

I have laravel application and Magento2 application. When I login to laravel application it should also get login to Magento application. Scenario: User login to laravel application. User click on ...
0
votes
2answers
61 views

Magento admin page login problem at first time after installation

When I install Magento 2, first of all, its screen was blank, when I resolve that problem then I am unable to login to admin page, I give my name and password again and again but its give me error "...
0
votes
0answers
32 views

Some old customers can't log in with some browsers to customer account of magento 1.9.4

We have strange problem in our magento 1.9.4 web-site. Some customers cant log in to their customer account but most can. Seems that in some cases clearing browser cache helped but some customers said ...
0
votes
2answers
35 views

M2 | Customer is not detecting by $customerSession->isLoggedIn()

I am trying to get loggedIn customer ID, I logged in and it is also showing in Online customer grid in the backend also can see on frontend. But if I check by $objectManager = \Magento\Framework\App\...
0
votes
0answers
20 views

Virtual products Login Restriction. Magento 1.9

I have enabled guest checkout, i need if virtual products available in cart login mandatory, how can i set the condition like if virtual products available in cart login mandatory.
0
votes
0answers
12 views

Magento2: Require Users to Login for pages created through the web gui UI

without installing an extension, to easily force a login for a specific page created through the web GUI interface? thanks!
0
votes
0answers
32 views

Magento2 - After login Customer group cart item tier price not change

Magento2 Add to cart before login its apply price normally, after login we need to change product tier price (configurable) belongs to customer group but cart item price not change. if after login I ...
0
votes
0answers
21 views

After logout magento 1.x not redirect to login page

I want the redirect to the login page for backend after logging out account. Now, after log out, it redirects to frontend. Ex: Dashboard backend https://a.com/index.php/abc/dashboard/index/key/...
1
vote
0answers
29 views

Magento2 - Customer group price not reflect after login

Magento2.1.9 without login when configurable product add to cart, after login with customer not reflecting for customer group price ( tier price) in cart,minicart, checkout section is working fine.
2
votes
1answer
76 views

Magento 2: Customer name not display in programmatically logged in user account

I have programmatically logged into the customer accounts from my custom controller. In this case the customer name is not loading in the header. https://prnt.sc/nzucg9 How can I do it? Here is the ...
1
vote
0answers
11 views

How to parse session url from one store to another in Magento 1.9?

I have two stores. Store A - Showing products as a catalog, unable to buy. Store B - Able to buy for exclusive customers with a given login account. That I want to do is, create a button on store A ...
0
votes
3answers
51 views

How to remove autofill email id in email fields Magento 2

In my newsletter and login page, whenever I open the page it prefills the email. I don't know how Magento is doing this, I want to remove the autofill of email in Magento. And I want to remove the ...