Skip to content

Implement login protection#282

Merged
jaredhendrickson13 merged 7 commits into
v150from
implement_login_protection
Oct 7, 2022
Merged

Implement login protection#282
jaredhendrickson13 merged 7 commits into
v150from
implement_login_protection

Conversation

@jaredhendrickson13
Copy link
Copy Markdown
Member

No description provided.

adds the enable_login_protection field to the api ui page and
/api/v1/system/api. this field toggles enabling login protection
for api authentication. this will help prevent brute force
attacks against api endpoints
on the api ui page, we were evaluating a base variable which
erroneously set or unset the variable
login protection requires the username to be set in order to work.
this sets the default username to 'unknown' if no username could
be found
before the test_login_protection test expected requests to start failing at a
specific point, but this does not work with all login protection configs and
situations. it now just expects the requests to start to timeout after many
failed auth attempts
@jaredhendrickson13 jaredhendrickson13 merged commit a3425c0 into v150 Oct 7, 2022
@jaredhendrickson13 jaredhendrickson13 deleted the implement_login_protection branch October 7, 2022 23:47
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