summaryrefslogtreecommitdiff
path: root/app/models/user.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/user.rb')
-rw-r--r--app/models/user.rb7
1 files changed, 0 insertions, 7 deletions
diff --git a/app/models/user.rb b/app/models/user.rb
index d44e8162abe..a5ef03215d3 100644
--- a/app/models/user.rb
+++ b/app/models/user.rb
@@ -1638,13 +1638,6 @@ class User < ApplicationRecord
super
end
- # override from Devise::Confirmable
- def confirmation_period_valid?
- return false if Feature.disabled?(:soft_email_confirmation)
-
- super
- end
-
private
def default_private_profile_to_false