mirror of
https://github.com/neocities/neocities.git
synced 2025-04-24 17:22:35 +02:00
Removed Mention of Underscores in Signup Dialog
Underscores are not allowed in usernames, so they shouldn't be mentioned as allowed.
This commit is contained in:
parent
e476d649ea
commit
209f032d0b
1 changed files with 1 additions and 1 deletions
|
@ -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?
|
||||
|
|
Loading…
Add table
Reference in a new issue