mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-12-15 08:48:53 +00:00
Merge commit 'f476d9dab2f5cca6ae44b95961df6b6557d66dab' into glitch-soc/merge-upstream
Conflicts: - `lib/sanitize_ext/sanitize_config.rb`: Upstream enforced new code style rules, where we had different code. Applied the new code style rules.
This commit is contained in:
@@ -488,7 +488,7 @@ class User < ApplicationRecord
|
||||
end
|
||||
|
||||
def validate_email_dns?
|
||||
email_changed? && !external? && !Rails.env.local? # rubocop:disable Rails/UnknownEnv
|
||||
email_changed? && !external? && !Rails.env.local?
|
||||
end
|
||||
|
||||
def validate_role_elevation
|
||||
|
||||
Reference in New Issue
Block a user