Skip to main content

Questions tagged [login]

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

Filter by
Sorted by
Tagged with
0 votes
1 answer
52 views

Magento 2 : Admin Login - Your current session has been expired

I get the Your current session has been expired. error when trying to login. In the admin_user_session table the session_id column which should be null is populated with a single character which means ...
William Oakley's user avatar
0 votes
1 answer
141 views

Magento 2.4 Admin Custom Controller Check If User Logged In and Redirect to Login If Not

In an Admin Controller Class, How do I check if the admin user is logged in, then redirect to the login page if not logged in, then return to the previous controller after login? A cut down version of ...
Fox's user avatar
  • 211
0 votes
1 answer
50 views

how to create a customer by using two fields passwords and confirm password in email section on magento2 checkout?

I have two fields created at the email section in checkout in magento2. I want to create a customer on order place. I am currently using "sales_order_payment_save_before" to get field data ...
Magento Inquiry's user avatar
1 vote
1 answer
247 views

Call to a member function isGlobalScopeEnabled() on null

I have just updated my magento version from 2.4.0 to 2.4.6 and i am getting this error on frontend.Please suggest any solution. Also i have custom theme but i am not getting why this error is occuring....
Tisha Jhanwar's user avatar
0 votes
1 answer
365 views

Magento 2 - Redirect customers to correct store on login using the same url

My site requires customers to login via third party to a multistore on magento 2 using the same url (no store code in url). I have 3 websites with corresponding stores, views and customer groups. ...
Roland142's user avatar
0 votes
2 answers
428 views

Login page did not give error massage if user give wrong details in magento 2 using with hyva theme

I am using Magento 2 with a hyva Theme when I go to the login page and write the wrong credentials it will not give an error Massage like Please provide correct credentials in this page /customer/...
Kbizsoft Solutions's user avatar
0 votes
0 answers
259 views

Login as a Customer via admin not working in magento 2

I am unable to login to a customer account from magento backend as a admin, eventhough i clicked Login as a customer in popup, but it just reloads the page Please help It redirects frontend , ...
jaisa2's user avatar
  • 15
0 votes
1 answer
2k views

Invalid form key. Please refresh the page on Front End

When I try to login as user I have the problem of invalid form key on frontend. Once the page is refreshed, the login works. We have 4 sites main.it subdomain.main.it second.it subdomain.second.it ...
KernelPaniC's user avatar
0 votes
0 answers
83 views

Fresh install Magento and can't login

After the installation and I get to the main page of Magento the demo shows. The next thing I do is use the credentials I've provided during the installation. It will return "The account sign-in ...
Michael Nelson's user avatar
0 votes
0 answers
41 views

Redirect to login page with exception

I using the following code to redirect all visitors to the login page. Everything is working fine with the exception of the Forgotten Password link... how would be make an exception for that /customer/...
acctman's user avatar
  • 111
0 votes
3 answers
386 views

customer/account/login Showpassword checkbox doesnt work

It works fine in registration page, but doesn't work for login of registered users
Siri's user avatar
  • 115
0 votes
2 answers
484 views

Magento 2 Customer Id is not updating after login

I have a form in the product view section. In this form, I am keeping the logged-in user's id hidden. First I log in as one customer and then log out from that account. Again I log in as another user, ...
Jancy Abraham's user avatar
0 votes
0 answers
1k views

Magento2 Admin Login Redirects to Login Page With No Error

I am using magento 2.3 version and i need to install SSL certificate to my domain. I installed lets encrypt certificate to my domain after that my admin is not logging in. It is showing login page ...
Dinesh's user avatar
  • 552
1 vote
1 answer
107 views

Magento 2.3.5 admin login slow

I updated to Magento 2.3.5-p2 and now the admin login takes forever, sometimes minutes. Is this a known problem? Tried to find some information on Google, but found nothing. Is there a way to fix it? ...
user4095519's user avatar
1 vote
0 answers
18 views

Customer login fails with no message for old migrated (from M1) customers

I recently migrated a Magento 1.x store to Magento 2.x. All customers were migrated successfully, etc. But some customers can't login on the frontend unless they clean their cookies. I tried with my ...
Ricardo Martins's user avatar
0 votes
2 answers
390 views

Magento Admin After Login Redirect Back To Admin Login?

I'm using Magento 2.4.4, when I logged in to Magento admin it redirected me back to the login page without any errors. I checked logs but no errors in the log also, But I have 2 projects running on my ...
Partab Saifuddin Zakir's user avatar
1 vote
1 answer
1k views

After updating to version 2.4.4, when I enter the admin panel, I get an error: "An error has happened during application run."

When I try to login to the admin panel, I get the following error: 'An error has happened during application run. See exception log for details.' After cleaning the cookies, the error disappears and ...
David Young's user avatar
2 votes
3 answers
3k views

Magento2 admin login not redirecting to dashboard page

after upgrade from magento 2.3.3 to 2.4.4, Admin login not redirecting to dashboard page.no errors coming but it just stays in login page. Can anyone let me know what could be issue?
bhargav shastri's user avatar
0 votes
0 answers
54 views

Can't login to admin panel. Key keeps changing when attempting to login

My Magento store has been working perfectly fine for a few months now. However, today when I try to login to the admin panel I immediately get booted back out. I'm on 2.4.4 and the frontend is working ...
Gary Frey's user avatar
1 vote
0 answers
211 views

Magenot 2 PWA app session time

I have a website, for which we are using PWA app, but the thing is ,I am unable to keep user logged in even after he close app. how to achieve this goal?
Rohit's user avatar
  • 70
0 votes
2 answers
339 views

Magento 2: Customer not able to login on multi-website second website

I have a multiwebsite on 2.4.3p1 with urls xyz.com and xyz.com/wholesale. The customer is not able to login from the wholesale website. It is redirecting to the login page. Any help would be ...
mechanic's user avatar
  • 440
0 votes
0 answers
194 views

404 "customer/ajax/login" in checkout login magento 2.4.3

In the checkout after put my email (Or put an email already registered) and put my password and click on enter, I can't login or keep going with the checkout for obvious reasons, it shows the loading ...
Byron's user avatar
  • 21
0 votes
1 answer
27 views

Magento 2 how to make frontend customer logged activley for 5 days?

I have Magento 2.4.1. I want the to customer must be logged in for min 5 days once he logged in to my website. I tried with PHP setting session.gc_maxlifetime but that not working. Is there any ...
Utsav Gupta's user avatar
  • 1,243
0 votes
1 answer
767 views

magento 2.4 customer login time increase up to 1 year or more

i want to my customer login time increase when he is one time logged in after when he/she open browser it must logged in and i have below settings increased but not affecting in my store Go to System &...
Jaydip Patel's user avatar
0 votes
0 answers
625 views

Magento 2 refresh admin correct credentials

I want to have a live Magento website (2.4.1) to my local machine but when I transferred the files from the server and downloaded the DB and go to the admin page he refreshes himself with no errors ...
Jesse Lafeber's user avatar
4 votes
5 answers
4k views

Magento 2.4.3-p1 - can't login to admin panel

When i try to login to admin panel, there is no error, just redirection again to login page. I cleared my cookies, tried different browser and checked my cookie domain settings in db - they are set ...
Kizbo's user avatar
  • 51
0 votes
1 answer
759 views

Logging in and registration in the pop-up/module on all pages in magento, excluding the login and registration page

I created an overwrite path in app/design/frontend/<name_vendor>/default/Magento_Customer/frontend/web/template/authentication-popup.html Here I understand that I can change the texts. Where can ...
Przemek Lange's user avatar
0 votes
1 answer
556 views

How to add a newsletter checkbox into Magento customer login form

I want to add the Newsletter checkbox into the Magento2 Customer Login form, when the user clicks the submit button the form validated the email and password, and the newsletter checkbox's state (only ...
iivo's user avatar
  • 3
0 votes
1 answer
86 views

Magento 2 : What is Purpose of Custom Varnish Synthetic Rule For Customer Ajax Login?

I have a situation where customer ajax login is not working even though the customer submits valid credentials. Instead, the page reloads and the customer is not logged in. To clarify, it DOES work ...
sdaugherty's user avatar
  • 1,231
0 votes
2 answers
393 views

I get a blank page after adding $block->getLayout()->createBlock() to the Module?

I am trying to inject \Magento\Customer\Model\Session into the QuickOrder module. I want the page to show a different message when the user is not logged in. In the directory app/code/Magento/...
Payman Khayree's user avatar
0 votes
1 answer
71 views

magento2.4 customer login

My Magento 2.4 Customer login redirects to customer login again and not login. also my list page doesn't show any product I Use all commands like reindex but not show and I need to solve these two ...
MGPM's user avatar
  • 751
0 votes
0 answers
299 views

How to debug that my all error message is not showing in Magento 2?

I have a Magento 2 Store. So i when i try to login with wrong cred. it just doesn't show me error its just reload the page like this. i have switched the theme but there is still the same issue on ...
Prits's user avatar
  • 625
0 votes
1 answer
188 views

Error message is not showing on Login Observer?

The error message is not showing on Login Observer if the error occours. observer file is : <?php namespace Orbitx\Emailblock\Plugin; use Magento\Framework\Controller\ResultFactory; use Magento\...
Prits's user avatar
  • 625
0 votes
1 answer
324 views

Magento 2 - Suddenly can't login into backend

I cant login to the backend anymore suddenly even though I made no changes. So I tried to created a new admin user via CLI but I get No Administrators role was found, data fixture needs to be run ...
Black's user avatar
  • 3,390
0 votes
1 answer
407 views

How to make user register but not login in magento 2.4

I want to make user register and redirect to login page in Magento 2.4. User not automatic login. I have created a plugin for that and created a file ( app/code/Registration/Redirect/Plugin/Customer/...
Prits's user avatar
  • 625
1 vote
3 answers
1k views

Magento 2 - How to add redirect link to login link?

I created a new CMS site newsletter-abo and placed a text on it which shows this: Please login to access this site. The word "login" points to /customer/account/login. If the customer ...
Black's user avatar
  • 3,390
-1 votes
1 answer
537 views

How to remove checkbox for GDPR in Magento 2

I want to remove GDPR checkbox in Magento 2 Login Page. I want to remove that checkbox from login page it will come from ( app/design/frontend/Mgs/claue_child/MGS_GDPR/templates/customer/form/login....
Prits's user avatar
  • 625
0 votes
3 answers
710 views

Before customer login check condition in magento 2.4

I want to if customer login and customer cart is not empty so customer redirect checkout page other wise customer login and customer cart is empty customer redirect my account page. Please help me, ...
Mohit Patel's user avatar
  • 3,923
0 votes
1 answer
309 views

Login to Magento 2. from outside, with Guzzle, returns a invalid form_key

I'm trying to login to Magento 2, with a form which contains a "from_key". I scrape this form_key but I'm not able to successfully login. Has someone any idea how to make this work? This is ...
Antonio's user avatar
0 votes
1 answer
514 views

customer user name displayed on header bar when user logged out by session time automatically

I am building the magento 2.4 website By the way I am facing with below customer login issue "I had logged into the website with customer account I spent some times and I visited the site by the ...
Thomas Peters's user avatar
0 votes
1 answer
242 views

Login caching and sessions

So were using this third party catalog thing which I don't like much at all. I won't get into all the details of my disliking but for starters it runs in an iframe. Now if a customer is browsing ...
Head's user avatar
  • 187
0 votes
1 answer
744 views

Redirect to login page triggering even after customer logs in

I have a CMS page with content that can only be seen by logged in users. I have an if statement that checks $this->_sessionFactory->create()->isLoggedIn(); and if they're not logged in, this ...
web master's user avatar
0 votes
1 answer
116 views

magento 2.3 product hide and category hide for guest customer

i am using magento 2.3 and i want to products and category hide , if customer not login means i want to hide product and category page hide for guest customer and must be redirect to login page
Jaydip Patel's user avatar
0 votes
1 answer
187 views

User gets logged in but still shows error message in magento 2.3.3

My customer gets logged in successfully into their account but still magento shows error message. https://nimb.ws/GicM2b How to resolve this?
Nafsss's user avatar
  • 760
0 votes
2 answers
129 views

Error occur while login admin panel in magento 2.4.2

Install Magento 2.4.2 Generate this error The account sign-in was incorrect or your account is disabled temporarily. Please wait and try again later, how to solve it.
Amruta's user avatar
  • 11
0 votes
0 answers
131 views

Magento 2 Redirect and display error in all admin page after click on "sign in"

I am trying to login in admin but it display "There has been an error processing your request". It generate error in like "Undefined offset: 2 in C:\xampp\htdocs\m24\lib\internal\...
krishna's user avatar
  • 43
0 votes
0 answers
79 views

Is there any way to log in to the frontend without going through the log in page?

I am trying to implement some UI tests written in selenium. There are a number of test cases which rely on the user being logged in. If I use the frontend login form to log in, and one day I find the ...
5a5a8's user avatar
  • 1
0 votes
1 answer
685 views

M2: How to add a canonical tag on the login page

These links are getting indexed: https://store.com/customer/account/login/referer/aHR0cHM6Ly9zdG9yZS5zbWFydGRlc2tzLmNvbS90ZXJtcy1jb25kaXRpb25z/ https://store.com/customer/account/login/referer/...
user2813308004's user avatar
0 votes
1 answer
81 views

this error" Err_TOO_Many_Redirect" path is admin/noroute/denide?

this erro happend when user role change to denied.and whenwver you loggin to admin page it is redirect many times error.
Hardik Patel's user avatar
0 votes
1 answer
243 views

How to extend newcustomer.phtml in Magento 2.3?

I want to change the default text -- Creating an account has many benefits: check out faster, keep more than one address, track orders and more. So how would i extend the path vendor/magento/module-...
Prits's user avatar
  • 625

1
2 3 4 5
17