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

For some people logging in almost always creates a new account #565

Open
mieraaaaa opened this issue Jun 5, 2024 · 1 comment
Open

For some people logging in almost always creates a new account #565

mieraaaaa opened this issue Jun 5, 2024 · 1 comment

Comments

@mieraaaaa
Copy link

For example for Joris Watermans, he gets a new account, his groups are remembered, but his staff status is not, which is kinda annoying as he is in the voorraadcie.
This also happens for some more people but not everybody

@JobDoesburg
Copy link
Collaborator

Do you maybe know a different name? For the user you mention, the problem has already been fixed manually, so I cannot retrace everything.

Could it be that it is just the is_staff status is forgotten (for all people that this problem concerns)?

@KiOui That maybe related to https://github.com/KiOui/TOSTI/blob/master/website/users/signals.py or https://github.com/KiOui/TOSTI/blob/master/website/users/models.py

It is indeed weird that his date_joined field is set to the last_login, so I guess it's something with the overwritten save method of users, that should fix capitalization (which we dont receive consistently from the SSO service) @KiOui

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