Browse Source

CLDC-4060: Reset 2FA when user is deactivated

allows CORE to always reset a user by deactivating/reactivating them
CLDC-4060-reset-2fa-when-reactivating-user
Samuel Young 2 weeks 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