1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-12-20 07:21:12 +00:00

add empty line after guard clause to app/models/email_address.rb

git-svn-id: http://svn.redmine.org/redmine/trunk@20500 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2020-11-26 14:46:36 +00:00
parent 3f11223486
commit 4a19d043c1

View File

@ -62,6 +62,7 @@ class EmailAddress < ActiveRecord::Base
domain = domain_or_email.split('@').last
return false if denied.present? && domain_in?(domain, denied)
return false if allowed.present? && !domain_in?(domain, allowed)
true
end