Browse Source

CLDC-4060: Reset 2FA when user is deactivated (#3120)

allows CORE to always reset a user by deactivating/reactivating them
pull/3126/head
Samuel Young 1 month ago committed by GitHub
parent
commit
9c9b99077d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 1
      app/models/user.rb

1
app/models/user.rb

@ -160,6 +160,7 @@ class User < ApplicationRecord
initial_confirmation_sent: false,
reactivate_with_organisation:,
unconfirmed_email: nil,
second_factor_attempts_count: 0,
)
end

Loading…
Cancel
Save