Ansarimajid / College-ERP

SIGCE College Enterprise Resource Planner (ERP) web application, developed for the interaction between students, staff, and the admin (HoD) of our college, SIGCE. The application is designed to streamline and automate various processes within the college,.
https://syncx.pythonanywhere.com/
MIT License
71 stars 25 forks source link

reCAPTCHA Preventing Login on Localhost #12

Open K02D opened 5 months ago

K02D commented 5 months ago

This is what I get when I run the project locally:

image

My ALLOWED_HOSTS is [] in settings.py. How do I fix the reCAPTCHA error? I think you might have to add localhost to your list of supported domains in your reCAPTCHA console (reference). Thank you!

Ansarimajid commented 5 months ago

First you need to visit ReCaptcha Login and then go to admin console there are Add Option you need to fill all the details then you get public and private key!!

Once you get the public and private key replace with existing keys in code :

SAMTECH0208 commented 2 months ago

if we disable the Recaptcha and give your given email id and password shows invalid details .what can I do?

Ansarimajid commented 2 months ago

if we disable the Recaptcha and give your given email id and password shows invalid details .what can I do?

If disabling the reCAPTCHA and providing the given email ID and password shows "invalid details," you can create another superuser to access the admin panel. If you are already able to run the application locally, you just need to run one command to create a new superuser:

python manage.py createsuperuser
SAMTECH0208 commented 2 months ago

thank you

On Sun, 21 Jul 2024 at 19:35, Ansari Majid Ali @.***> wrote:

if we disable the Recaptcha and give your given email id and password shows invalid details .what can I do?

If disabling the reCAPTCHA and providing the given email ID and password shows "invalid details," you can create another superuser to access the admin panel. If you are already able to run the application locally, you just need to run one command to create a new superuser:

python manage.py createsuperuser

— Reply to this email directly, view it on GitHub https://github.com/Ansarimajid/College-ERP/issues/12#issuecomment-2241622992, or unsubscribe https://github.com/notifications/unsubscribe-auth/BJ6I6CU6HIDCOX3ITA7CIVLZNO5Y7AVCNFSM6AAAAABGRWP3AWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENBRGYZDEOJZGI . You are receiving this because you commented.Message ID: @.***>