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.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/user.rb b/app/models/user.rb
index 0168008355b..6932e750fe0 100644
--- a/app/models/user.rb
+++ b/app/models/user.rb
@@ -871,7 +871,7 @@ class User < ActiveRecord::Base
end
end
- allowed_domains = current_application_settings.restricted_signup_domains
+ allowed_domains = current_application_settings.domain_whitelist
unless allowed_domains.blank?
if match_domain(allowed_domains, self.email)
valid = true