mirror of
https://github.com/neocities/neocities.git
synced 2025-05-19 10:49:37 +02:00
fix text editor
This commit is contained in:
parent
2743e02cc1
commit
e200eb47c6
3 changed files with 11 additions and 11 deletions
|
@ -294,11 +294,6 @@ class Site < Sequel::Model
|
|||
!@blockings.select {|b| b.site_id == site.id}.empty?
|
||||
end
|
||||
|
||||
def self.valid_path?(path)
|
||||
puts 'ditto restrictions scrub'
|
||||
true
|
||||
end
|
||||
|
||||
def self.valid_username?(username)
|
||||
!username.empty? && username.match(/^[a-zA-Z0-9_\-]+$/i)
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue