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

Accounts still banned without intercation #1375

Open
sebix opened this issue Dec 31, 2024 · 2 comments
Open

Accounts still banned without intercation #1375

sebix opened this issue Dec 31, 2024 · 2 comments

Comments

@sebix
Copy link
Member

sebix commented Dec 31, 2024

As we just expierenced, the automatic scheduled unlocking does not work.

The configured date was 28.11.2024 00:00:00. Yet the user account was still locked to this day. Unlocked the account now manually.

@chris34
Copy link
Member

chris34 commented Dec 31, 2024

I think there is a misconception here: The user will be automatically unbanned on login, if the banning period is over. If the user does no try to login again, the status will still be banned in the database.

At the moment there is no background task (e.g. via celery) to change the users status.

For reference:

To be honest it did not find a test for it, but i just quickly checked it manually. And the user was unbanned on login.

Do we know if the user tried to login (e.g. if he explicitly wrote it to use)? Otherwise, I would this consider more an enhancement for a background task to unban, than a bug.

@sebix
Copy link
Member Author

sebix commented Jan 1, 2025

Thank you for the explanation, that makes sense.

So, yes, this could be an enhancement, not a bug.

@chris34 chris34 changed the title Scheduled account unlocking does not work Accounts still banned without intercation Jan 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants