Skip to content

Commit

Permalink
Added PASSWORD_EXPIRED as a valid state (#10)
Browse files Browse the repository at this point in the history
Currently Terraorg is forcing us to remove users that simply have an expired passwords when making changes.
We then need to manually add them in later when they return and reset things in Okta. It's pretty annoying
  • Loading branch information
zcicala authored Jan 11, 2021
1 parent 62fad2b commit 0f8801e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/terraorg/model/person.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
require 'faraday'

class Person
ACTIVE_USER_STATUSES = ['ACTIVE', 'PROVISIONED'].freeze
ACTIVE_USER_STATUSES = ['ACTIVE', 'PROVISIONED', 'PASSWORD_EXPIRED'].freeze

attr_accessor :id, :name, :okta_id, :email, :status

Expand Down
2 changes: 1 addition & 1 deletion lib/terraorg/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@
# limitations under the License.

module Terraorg
VERSION = '0.5.2'
VERSION = '0.5.3'
end

0 comments on commit 0f8801e

Please sign in to comment.