Questions tagged [login]
Denotes questions related to login (frontend, backend and api).
845
questions
0
votes
1
answer
60
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 ...
0
votes
1
answer
48
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 ...
1
vote
1
answer
139
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....
0
votes
1
answer
291
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.
...
0
votes
2
answers
306
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/...
0
votes
0
answers
239
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 , ...
1
vote
0
answers
56
views
Error while login customer into the authentication-popup frontend
Actually, I have installed the phone number login extension into Magento 2.4 downloaded it from GitHub, and added some new functionality as per the requirement after doing all functionality I faced an ...
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
...
0
votes
0
answers
76
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 ...
0
votes
0
answers
35
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/...
0
votes
3
answers
326
views
customer/account/login Showpassword checkbox doesnt work
It works fine in registration page, but doesn't work for login of registered users
0
votes
2
answers
421
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, ...
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 ...
1
vote
1
answer
98
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?
...
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 ...
0
votes
2
answers
320
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 ...
1
vote
1
answer
933
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 ...
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?
0
votes
0
answers
53
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 ...
1
vote
0
answers
196
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?
0
votes
2
answers
321
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 ...
0
votes
0
answers
177
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 ...
0
votes
1
answer
26
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 ...
0
votes
1
answer
669
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 &...
0
votes
0
answers
604
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 ...
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 ...
0
votes
1
answer
710
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 ...
0
votes
1
answer
509
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 ...
0
votes
1
answer
85
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 ...
0
votes
2
answers
355
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/...
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 ...
0
votes
0
answers
272
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 ...
0
votes
1
answer
180
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\...
0
votes
1
answer
285
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
...
0
votes
1
answer
370
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/...
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 ...
-1
votes
1
answer
516
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....
0
votes
3
answers
680
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,
...
0
votes
1
answer
305
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 ...
0
votes
1
answer
485
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 ...
0
votes
1
answer
233
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 ...
0
votes
1
answer
697
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 ...
0
votes
1
answer
113
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
0
votes
1
answer
183
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?
0
votes
2
answers
128
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.
0
votes
0
answers
124
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\...
0
votes
0
answers
75
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 ...
0
votes
1
answer
617
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/...
0
votes
1
answer
77
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.
0
votes
1
answer
236
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-...