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

Allow admins to set auto-locking after inactive periods #231

Closed
signebedi opened this issue Jun 4, 2024 · 0 comments
Closed

Allow admins to set auto-locking after inactive periods #231

signebedi opened this issue Jun 4, 2024 · 0 comments

Comments

@signebedi
Copy link
Owner

signebedi commented Jun 4, 2024

This implicates a broader question about whether account locking should also disable the use of the API. Do we want to have account locking also disable key use, or just limit access to the UI?

If we do want account locking to also prevent use of the API, then we probably want to add some logic to check for user active status here:

def api_key_auth(x_api_key: str = Depends(X_API_KEY)):

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

1 participant