diff options
author | dev-chris <chris@chrisjwilson.com> | 2016-10-07 07:19:03 +0300 |
---|---|---|
committer | dev-chris <chris@chrisjwilson.com> | 2016-10-07 07:19:03 +0300 |
commit | 57e72cbac99d58fe4dbb23439d6f9f2a333feccc (patch) | |
tree | e4105e3204775e56cdeba134f6d48f3d4e25ba65 /app | |
parent | 6678fab3688b9f96c551a7926e85dc855b7d4bda (diff) |
Update user whitelist reject message
+ Don't expose all whitelisted domains
Diffstat (limited to 'app')
-rw-r--r-- | app/models/user.rb | 2 |
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 |