From 209f032d0bfbe8780cf4a102b64ffa07bdbf5633 Mon Sep 17 00:00:00 2001 From: Retroity Date: Wed, 18 Oct 2017 10:22:35 -0500 Subject: [PATCH] Removed Mention of Underscores in Signup Dialog Underscores are not allowed in usernames, so they shouldn't be mentioned as allowed. --- models/site.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/site.rb b/models/site.rb index c66fb90e..22067ad7 100644 --- a/models/site.rb +++ b/models/site.rb @@ -943,7 +943,7 @@ class Site < Sequel::Model super if !self.class.valid_username?(values[:username]) - errors.add :username, 'Usernames can only contain letters, numbers, underscores and hyphens.' + errors.add :username, 'Usernames can only contain letters, numbers, and hyphens.' end if !values[:username].blank?