Closed arpit456jain closed 3 years ago
@rupeshmohanty kindly assign me this issue
@arpit456jain Admin login should not be connected to the user login page, Both user side and admin side should work parallely.
yes @rupeshmohanty i am getting it
but try to understand my issue . it you login as normal user you will not be able to access index.php it will redirect to dashboard.
now only admin can visit index.php before login and after login both so if admin is logged in there should be logout otherwise login.
the url for logout admin can be added later when log out button for admin is added there is already a issue opened for that .
@rupeshmohanty there is also one more bug
@arpit456jain You gave the wrong URL, it should be /admin/admin_login.php
@arpit456jain You gave the wrong URL, it should be /admin/admin_login.php
@rupeshmohanty i don't give the wrong url There is wrong url is in code you can check it on your system .
@arpit456jain You gave the wrong URL, it should be /admin/admin_login.php
I just try to access admin dashboard that's why i give the url for dashboard it should redirect me to login page
@rupeshmohanty
@arpit456jain See it works perfectly on my system!
@arpit456jain See it works perfectly on my system!
@rupeshmohanty did you give the url
Are you trying to access the dashboard page from the URL?
Are you trying to access the dashboard page from the URL?
Yes
Yeah you can put a check on the dashboard page which redirects the user to the admin-login if not logged in yet or redirects to the dashboard page if there is a session.
Describe the bug When the admin logged in and go on index.php the button is showing login instead of logout
https://user-images.githubusercontent.com/55352601/115229087-3aaf4800-a130-11eb-9b33-3c5634625d99.mp4
Expected behavior It will show logout there and on clicking on that the admin should be logout