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

Features #162

Merged
merged 4 commits into from
Nov 13, 2024
Merged

Features #162

merged 4 commits into from
Nov 13, 2024

Conversation

croessner
Copy link
Owner

No description provided.

Christian Roessner added 4 commits November 12, 2024 18:09
The check for too many password hashes was redundant and has been removed from the `bruteforce.go` file.

Signed-off-by: Christian Roessner <[email protected]>
Introduced a new "Learning" slice to the `BruteForceSection` and implemented a `LearnFromFeature` method to verify the presence of a specified feature. Updated the authentication flow to conditionally update brute force counters based on this learning feature check.

Signed-off-by: Christian Roessner <[email protected]>
This commit ensures that methods properly handle cases where the receiver struct is nil, reducing the likelihood of runtime panics. This is accomplished by adding nil checks in various getters and setters across the project.

Signed-off-by: Christian Roessner <[email protected]>
Updated error messages in `server/config/types.go` to provide more context by including the invalid value in the error description. Modified error definitions in `server/errors/errors.go` accordingly. Changed `Learning` field type in `BruteforceSection` to a pointer to `Feature` for consistency.

Signed-off-by: Christian Roessner <[email protected]>
@croessner croessner merged commit 55dbe4c into main Nov 13, 2024
5 checks passed
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

Successfully merging this pull request may close these issues.

1 participant