0
0
Fork 0
This commit is contained in:
Eugen Rochko 2021-03-19 17:15:36 +01:00 committed by GitHub
parent 741d0952b1
commit af8fe6e1e9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 2 deletions

View file

@ -468,7 +468,7 @@ class User < ApplicationRecord
end
def validate_email_dns?
email_changed? && !(Rails.env.test? || Rails.env.development?)
email_changed? && !external? && !(Rails.env.test? || Rails.env.development?)
end
def invite_text_required?