Hi all, I would like to remove the login on Opencart, meaning when directing to ..../admin it will just place me straight into Opencart without needing user and password. Is there something I need to know before removing the login page and removing the coding?
Now, I bet you are thinking "why the hell does he want to do that!". Basically, here is my situation and what I was thinking -
I am using a CMS to edit a website - aka STF-systems.co.uk (this is not a real URL just yet). Now, I am wanting to use Opencart for the shopping cart with the URL - STF-systems.co.uk/shop or shop.stf-systems.co.uk.
The issue I found was that I have 2 login forms to deal with to edit 2 different things. Great for security I suppose but not great if I did this for 1 of my customers. This is too long winded for my liking.
My plan is basically to have a page, something like this - stf-systems.co.uk/login123. This would take me to a login page, very secure page at that. After signing into this page, I will be left with 2 options - 1. Edit my products etc with Opencart and 2. Edit my website with the other CMS.
Clicking 1 of these would take me straight to the admin panel for each tools without annoyingly inputting some login info again.
I understand that I will need to edit files which when inactive in the admin panel, it would redirect to the login page (my custom one) but ill worry about that later.
Can this be done easily with Opencart or is it just something I will need to just forget about?
Could you use this logic?
Link in master admin page sends post data (user name & password) to your OC login page.
- You'll have to create a simple form that sends the current users u/n and pass as post data
OC login page checks if post data is set and if set then uses these credentials to login.
- You'll have to edit the log in page to check for post data and if it is there to use as login.
I'm not sure how secure it would be but it might be an idea that you can build on.
jgsw
Link in master admin page sends post data (user name & password) to your OC login page.
- You'll have to create a simple form that sends the current users u/n and pass as post data
OC login page checks if post data is set and if set then uses these credentials to login.
- You'll have to edit the log in page to check for post data and if it is there to use as login.
I'm not sure how secure it would be but it might be an idea that you can build on.
jgsw
Quick Edit Admin Panel (40% off!) - CSS Unique (only $10!)
Sticky Admin Menu (Free) - Add Scripts & Styles to head (Free)
Actually, that's not to bad of an idea. It's just really bypassing the OpenCart login page if user and pass is correctly entered in master form.
What I was also thinking is using a IP block to stop other IP's from accessing the master and Opencart login page. That would secure the page nicely.
What I was also thinking is using a IP block to stop other IP's from accessing the master and Opencart login page. That would secure the page nicely.
Who is online
Users browsing this forum: No registered users and 110 guests