Skip to content

Commit

Permalink
updated o365 spraytype to be more verbose on error AADSTS50079 for mf…
Browse files Browse the repository at this point in the history
…a validation. also added a check for expired password
  • Loading branch information
CausticKirbyZ committed Mar 21, 2024
1 parent 9a75c1c commit 48cae18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/spray_types/o365.cr
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ class O365 < Sprayer
spstatus.lockedout = true if page.body.includes? "AADSTS50053" # locked out smartlock or regular

if page.body.includes? "AADSTS50055"
spstatus.valid = true
spstatus.valid_credentials = true
STDERR.puts "#{username} password is Expired".colorize(:yellow)
end

Expand Down

0 comments on commit 48cae18

Please sign in to comment.