Questions tagged [login]

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

Filter by
Sorted by
Tagged with
3
votes
2answers
681 views

Disable “add to cart” for Guest User

How can I Disable the "add to cart" when user is not logged in.
0
votes
0answers
10 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 ...
1
vote
2answers
964 views

Login into Magento 2 site from external site

I have a site outside Magento's domain and I should allow Magento customer to login into Magento Store from this external site. Being completely new to Magento , I don't know how to implement this ...
0
votes
1answer
11 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): ...
0
votes
2answers
95 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.
1
vote
2answers
32 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
vote
2answers
507 views

Magento2: How to delete cookies programmatically?

I want to delete cookies programmatically before as login customer.
2
votes
1answer
776 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
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
31 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: ...
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 - ...
8
votes
3answers
7k views

Magento 2 - Redirect user to a specific page if not logged in

I need to redirect user to a landing page if not logged in. I find a similar work in this link. Is there a solution for Magento 2?
0
votes
1answer
19 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 ...
0
votes
0answers
24 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 ...
1
vote
1answer
666 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\...
9
votes
2answers
4k views

Adding a block to login onepage checkout

I try to add an additional login option during the checkout process. At the moment, you have the username/password way. I want to add a button image to login via an OAuth process (in my case Github). ...
0
votes
2answers
31 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
39 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
1answer
25 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
2answers
89 views

503 error only when customer logs in (Magento 1.9.4.0)

Website works fine until a customer logs in and then they are presented with a 503 error when they browse to any category or product. The actual account page does appear fine once they are logged in. ...
1
vote
0answers
31 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....
1
vote
1answer
41 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 ...
2
votes
2answers
557 views

Check if customer logged in not working

I have a block to add link at top based on if customer login like this, when i'm at myaccount page the header link show the right one, but when i go to other page it shows the wrong one, here's my ...
0
votes
1answer
581 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 ...
98
votes
16answers
183k views

Magento 1.9 Can’t login to admin panel!

I have installed Magento 1.9. It was working well for a week. Suddenly yesterday, when I tried to login to the Magento admin panel and I typed username and password, clicked Login button and nothing ...
1
vote
2answers
1k views

Captcha not showing on frontend login page

Captcha not showing on frontend login page. It works fine on register and forgot password section. I am using default template captcha module in rwd template. Following all the necessary changes. ...
1
vote
1answer
23 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
30 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 ...
1
vote
1answer
46 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 ...
3
votes
2answers
1k views

Redirect customer login/register success to checkout Magento 2.2

I am creating a module for redirect login/register success to checkout if customer has some items on quote but that's not working. If I stop the event with that die; on Observer/Redirect.php above ...
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. ...
0
votes
1answer
37 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/...
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 ...
1
vote
2answers
140 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
779 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....
2
votes
2answers
34 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
23 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
1answer
24 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 ...
0
votes
2answers
31 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
0answers
611 views

Magento : Customer Not Able to Login

Recently I upgrade one website from 1.8.1.0 to 1.9.4.0. Everything working fine into the website accept one issue. I face strange issue, The customer who make the payment using "Paypal Express ...
0
votes
1answer
889 views

Magento2 Restrict Store view to a customer group

I need to restrict 1 storeview to a customer group and require login. Any suggestions?
0
votes
2answers
50 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
30 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
1answer
732 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.
5
votes
7answers
6k 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 ...
13
votes
0answers
294 views

Magento2 : 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 ?
0
votes
2answers
29 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
2answers
10k views

Magento2.1.5: Login and registration form on login page

Is there any way to show both forms login and Registration on the login page? http://example.com/customer/account/login/ Which .xml layout I need to overwrite. I have done many searches on google ...
2
votes
1answer
688 views

Magento - how to extend login session time on php.ini or htacess

I'm user of Magento and out website is supported by web hosting company, simplehelix. I want to extend our website session time because the remaining time of login is too short. I already set the ...
0
votes
0answers
26 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 ...