Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Login form not working when new Student is added from admin panel #36

Open
AdanNazir opened this issue Mar 18, 2024 · 2 comments
Open

Comments

@AdanNazir
Copy link

AdanNazir commented Mar 18, 2024

So here's the deal, whenever I add a new student from admin panel and fill their details, then when I use their username and password in the login section of the website, it displays "Invalid ID and password", can you please check this out and see if its a bug or if I'm doing anything wrong? Thanks!

@adilmohak
Copy link
Owner

The form now sends an email containing auto-generated credentials to students and lecturers immediately when the admin creates one. So to log in you have to get the ID and password from their email.

One tip, do not use the django-admin panel to create students or lecturers as the auto-generated credentials functionality is not supported there.

@adilmohak
Copy link
Owner

But we'll definitely consider supporting the same functionality on the django-admin panel

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants