Browse Source

CLDC-4060: Reset 2FA when user is deactivated

allows CORE to always reset a user by deactivating/reactivating them
pull/3120/head
Samuel Young 2 months ago
parent
commit
bae3e9641d
  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