summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordev-chris <chris@chrisjwilson.com>2016-10-07 04:19:03 +0000
committerdev-chris <chris@chrisjwilson.com>2016-10-07 04:19:03 +0000
commit57e72cbac99d58fe4dbb23439d6f9f2a333feccc (patch)
treee4105e3204775e56cdeba134f6d48f3d4e25ba65
parent6678fab3688b9f96c551a7926e85dc855b7d4bda (diff)
downloadgitlab-ce-mrchrisw/remove-whitelist.tar.gz
Update user whitelist reject messagemrchrisw/remove-whitelist
+ Don't expose all whitelisted domains
-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 508efd85050..892ac28d5b3 100644
--- a/app/models/user.rb
+++ b/app/models/user.rb
@@ -902,7 +902,7 @@ class User < ActiveRecord::Base
if domain_matches?(allowed_domains, self.email)
valid = true
else
- error = "is not whitelisted. Email domains valid for registration are: #{allowed_domains.join(', ')}"
+ error = "domain is not authorized for sign-up"
valid = false
end
end