People who code: we want your input. Take the Survey

Questions tagged [login]

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

299 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
11
votes
2answers
2k 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. ...
4
votes
0answers
293 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?
4
votes
3answers
2k 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 - ...
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 ...
4
votes
1answer
761 views

Can't create user or log in to Magento Front End ce 1.9 with Chrome

This is a strange problem that has occurred after installing SSL on my hosting package (not sure if linked). I am unable to create a new user or log in with an existing user at front-end (backend is ...
3
votes
1answer
425 views

Magento-2 How to show reset password options to first login customer

I have imported customer recently. customer imported by default password which I have set same password for all customer. Now I need two things to do for customer. How I can get customer login count, ...
3
votes
0answers
778 views

Magento 2.2.1 : Add Custom Field in Login Form On Checkout Page

I have added custom field in checkout page using below code: $jsLayout['components']['checkout']['children']['steps']['children']['shipping-step']['children'] ['shippingAddress']['children']['...
3
votes
0answers
553 views

Magento 2 customer session setAfterAuthUrl() failed to set redirect URL

I have created custom module for custom blog wishlist. So I have set authentication while trying to save blog into wishlist as below Controller >> save.php public function execute() { $data = []; ...
3
votes
1answer
99 views

How to work with templates in magento 2

Example.com/customer/account/login/ This page contains three Templates Sociallogin.phtml Login.phtml Newcustomer.phtml I know where these files are located.But i don't know where these files ...
3
votes
0answers
170 views

Magento 1.8 <?php echo $this->getBlockHtml('formkey'); ?> code shows " /> and also can't login

Am using Magento 1.8 in my store all view.phtm page after form showing one code like <input name="form_key" type="hidden" value="<esi:include src=" https:="" www.abc.in="" varnishcache="" ...
3
votes
1answer
675 views

Magento : Fatal error: Call to a member function getUser() on a non-object

I can' t log in anymore. It show Fatal error: Call to a member function getUser() on a non-object in /usr/www/users/x/app/code/core/Mage/Admin/Model/Observer.php on line 55 This is on line 55: $user ...
3
votes
2answers
1k views

Disable “add to cart” for Guest User

How can I Disable the "add to cart" when user is not logged in.
3
votes
2answers
2k views

Magento 2: move mini-login dropdown to home page (header)

There is a mini login form on the checkout page. How can I move it to the header so it displays on every page?
2
votes
0answers
53 views

magento 2.3.3 customer loggin issue quote table is_active?

Magento 2.3.3 customer login issue quote table is_active? When there is more than 1 data in the quote table with is_active = 1 then the user is facing login issues. So I have to change is_active to 0 ...
2
votes
0answers
32 views

Magento 2: Need customer Sign-In/registraion form in checkout page

When a user who is not logged in (anonymous) clicks Proceed to checkout, I want them the be taken to the login page. Then, after they've logged in or registered, they should be taken back to the ...
2
votes
0answers
29 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, ...
2
votes
0answers
99 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
0answers
84 views

Magento 1.7 OnepageCheckout SaveBilling returns 200 -> nothing happens

When I click on the continue button inside the billing section, the tiny loading icon appears and a request is triggered. It returns 200 with an empty response. But then... nothing happens and there ...
2
votes
1answer
90 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 ...
2
votes
1answer
537 views

Tier price for customer group does not automatically apply after logging in

I have a store with customer groups for different customer "levels". Each level has discounted pricing that is set up using tier pricing. My problem is the tier pricing does not apply if a customer ...
2
votes
0answers
202 views

Strange (browser) caching issue in cart

We had a third party build our initial website and I am in the process of 'fixing' things that were not done as well as we might have liked. One such issue was the manner they used to handle pages ...
2
votes
1answer
324 views

How can i solve Multi-Store Customer Login Error?

I have multi store website, store 1 there is no issue, 2nd store getting error while customer login, may i know the possibilities of error? Note : There is no error in error log files
2
votes
0answers
365 views

How to add checkout first step as a login step in magento2?

I need the first step is login form like as magento1 and remove login or email adding the field on shipping step. add first step as
2
votes
1answer
503 views

How to login saperately from magento frontend using admin credential?

I have created users with respective their permissions from Magento admin panel. Now I need to login these users from Magento frontend... (Kindly note that customer login is different part. I need ...
2
votes
2answers
2k 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. ...
2
votes
0answers
152 views

Customer Login - form_key validation fails - Magento 2

Hi i am trying to login to the customer but it redirects to login page. I checked in there is form_key validation in LoginPost.php it redirects to the same page. But the same thing is working on live ...
2
votes
0answers
215 views

Cross-Domain Session sharing is not working Magento 1.9.2

I have 2 stores set up in two different domain names in one Magento Installation. I have enabled the SID on Frontend to share the session between the two stores using SID as an Url parameter. But it ...
2
votes
0answers
265 views

Changing Login text to Image + creating drop down for My account, Wishlist, Sign out and more.

A similar question was asked for Magento 1.9, trying it for Magento 2.0 broke my site. Looking for a more specific answer. I am using Magento 2.1.5 -- I want to remove the Top links from all pages. ...
2
votes
1answer
870 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 ...
2
votes
0answers
1k views

Can't login to admin

When I try to login to the admin panel I get a 404 error I can access the login page, and if I try to login with a wrong password, I get the Invalid User Name or Password message. If I ...
2
votes
0answers
673 views

admin login programmatically in controller not working

I am using below code to admin login programmatically in magento root folder file name rootfolder/adminlogin.php Mage::getSingleton('core/session', array('name' => 'adminhtml')); // supply ...
2
votes
2answers
601 views

Magento Admin Panel Returns 404 Error

Trying to login magento admin panel and it returns 404 error. Here's what I did so far. Did a check on /public_html/app/etc/local.xml <admin> <routers> <adminhtml> ...
2
votes
0answers
53 views

use checkouts modal login as default

Is it possible to use the checkout model login as default for all pages in custom theme which inherited form blank theme? As I see on checkout site is using some wrapper.
2
votes
0answers
130 views

add to cart not working for a store behind authentication

I have a store which is protected behind a login. So when a customer receives a wishlist email from other customer, when the customer clicks on "Add to cart" from email, since the store is protected ...
2
votes
0answers
124 views

How can I make admin login landing page stay on current page?

When I log in to the admin area after a session has expired the system redirects me to the Dashboard instead of the page that I was on before the session expired. How can I prevent this?
2
votes
0answers
743 views

magento got invalid login or password error for customer

i added one customer programmatically and send mail to that customer for new password and also in admin side i found that customer but when customer try to login with email id and password got error '...
2
votes
0answers
100 views

On the login page button “register” don't work (1.5 Magento)

After applying security patches I'm receiving error on login page: Call to undefined method Mage_Checkout_Helper_Data::isContextCheckout() in app/design/frontend/base/default/template/persistent/...
2
votes
1answer
68 views

Extra “Member” category after login

I want to have a extra, member specific category or page, after a member signed in. So I can show products to the member that are only meant for him personally. So I have a complete shop with al my '...
2
votes
1answer
35 views

admin panel not log in magento?

When I enter a wrong email/password, it says: Invalid User Name or Password. error. But correct email, password does not show any error and also does not redirect to dashboard. How do I resolve ...
1
vote
0answers
39 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..
1
vote
0answers
137 views

how to solve 401 redirect on REST API on Custom tab between shipping and Payment option

I have created some steps between shipping and Payment form and add some field between then and applied ajax on that but i have facing an issue for not logged in user it will gave an error of 401 and ...
1
vote
0answers
18 views

Keeps asking to login Magento 2.3.4

Not sure if this is a bug or if this is an actual issue which is going on. I have tried to read up on few informations and tried to follow the steps. But I am not getting anywhere unfortunately. The ...
1
vote
1answer
199 views

Can't login into account - Magento 2.3.4 update

I've update to Magento 2.3.4 and after the update, for most of the users that try to login, we get the next report {"0":"Unable to send the cookie. Size of 'mage-messages' is 4155 bytes.","1":"#1 ...
1
vote
0answers
19 views

Restrict access to categories and products

How can turn off the display of categories and products in them for unauthorized users. In case of transition to url of not logged user, redirect to login page.
1
vote
0answers
117 views

POP up (Sign IN & Create New Account ) Problem

we use theme claue we faced problem in POP up (Sign IN & Create New Account ) as per attached image Create New Account loading & Sign IN get error (could not authenticate. please try again ...
1
vote
0answers
29 views

Invalid form key on admin login

Attempting to get a magento 1.14 site setup in Vagrant. Store seems to be loading correctly, I'm able to view the frontend, admin login screen and n98magerun let's me edit conglfigs, clear caches ...
1
vote
2answers
16 views

Remove Forced Login / Sign Up

I've a personalised board book business called www.bookywooky.ie. I insisted my web dev co to force customers to create / sign in to an account prior to creating a book so they wouldn't lose any of ...
1
vote
0answers
32 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 ...
1
vote
1answer
163 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 ...
1
vote
0answers
228 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
2 3 4 5 6