Skip to content

Commit

Permalink
added addiotnal lockout check for blue iris password spraytype
Browse files Browse the repository at this point in the history
  • Loading branch information
CausticKirbyZ committed May 29, 2024
1 parent 810aa00 commit 0edb794
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/spray_types/blue_iris.cr
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,12 @@ class BlueIris < Sprayer
js = JSON.parse(page.body)
if js["result"] != "fail"
spstatus.valid_credentials = true
else
if js["data"]["reason"] == "Maximum login attempts exceeded"
spstatus.lockedout = true
end
end
rescue
rescue
end


Expand Down

0 comments on commit 0edb794

Please sign in to comment.