-
-
Notifications
You must be signed in to change notification settings - Fork 963
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
Add blocked state #4204
Closed
Closed
Add blocked state #4204
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This commit introduces the following changes: - Add SMS template for recovery code - Update config to support SMS recovery - Extend identity schema for recovery settings - Modify recovery strategy to handle SMS code delivery - Update gitignore to exclude new development files These changes enable users to receive recovery codes via SMS, enhancing the account recovery options and improving user experience.
feat: Implement recovery code via SMS
This change introduces a new feature to track failed login attempts and deactivate accounts after a configured number of failures within a specified time window. The main components of this change include: 1. New database table for storing login attempts (currently only failed attempts) 2. Updated password login strategy to record failed attempts 3. Logic to deactivate accounts when max attempts are exceeded 4. Configuration options for max attempts and time window 5. New error messages for account deactivation due to failed attempts This enhancement improves security by preventing brute-force attacks and adds a layer of protection for user accounts.
feat: Implement login attempt tracking and account deactivation
chore: update schema versions
- Add new master.yaml workflow for CI/CD pipeline - Build and push Docker images for x86 and arm64 architectures - Utilize GitHub Container Registry (ghcr.io) - Move existing workflows to .github/workflows/old/ directory - Streamline CI process for master branch and tag releases
feat: reactivate inactive account on recovery
Adds functionality to automatically deactivate identities that have been inactive for a configurable period. Key changes: - Add config option for inactivity threshold period - Add API endpoint to list and deactivate inactive identities - Add SQL queries to find and update inactive identities - Add manager and persister methods to handle deactivation
Add Inactive account endpoint
This commit introduces the following changes: - Add SMS template for recovery code - Update config to support SMS recovery - Extend identity schema for recovery settings - Modify recovery strategy to handle SMS code delivery - Update gitignore to exclude new development files These changes enable users to receive recovery codes via SMS, enhancing the account recovery options and improving user experience.
This change introduces a new feature to track failed login attempts and deactivate accounts after a configured number of failures within a specified time window. The main components of this change include: 1. New database table for storing login attempts (currently only failed attempts) 2. Updated password login strategy to record failed attempts 3. Logic to deactivate accounts when max attempts are exceeded 4. Configuration options for max attempts and time window 5. New error messages for account deactivation due to failed attempts This enhancement improves security by preventing brute-force attacks and adds a layer of protection for user accounts.
- Add new master.yaml workflow for CI/CD pipeline - Build and push Docker images for x86 and arm64 architectures - Utilize GitHub Container Registry (ghcr.io) - Move existing workflows to .github/workflows/old/ directory - Streamline CI process for master branch and tag releases
Adds functionality to automatically deactivate identities that have been inactive for a configurable period. Key changes: - Add config option for inactivity threshold period - Add API endpoint to list and deactivate inactive identities - Add SQL queries to find and update inactive identities - Add manager and persister methods to handle deactivation
wasim almadhagi seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account. You have signed the CLA already but the status is still pending? Let us recheck it. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Related issue(s)
Checklist
introduces a new feature.
contributing code guidelines.
vulnerability. If this pull request addresses a security vulnerability, I
confirm that I got the approval (please contact
[email protected]) from the maintainers to push
the changes.
works.
Further Comments