Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authordev-chris <chris@chrisjwilson.com>2016-10-07 07:19:03 +0300
committerdev-chris <chris@chrisjwilson.com>2016-10-07 07:19:03 +0300
commit57e72cbac99d58fe4dbb23439d6f9f2a333feccc (patch)
treee4105e3204775e56cdeba134f6d48f3d4e25ba65 /app
parent6678fab3688b9f96c551a7926e85dc855b7d4bda (diff)
Update user whitelist reject message
+ Don't expose all whitelisted domains
Diffstat (limited to 'app')
-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