mirror of
https://github.com/neocities/neocities.git
synced 2025-04-24 17:22:35 +02:00
fix for username pass
This commit is contained in:
parent
1035123076
commit
ead6e41897
1 changed files with 1 additions and 1 deletions
2
app.rb
2
app.rb
|
@ -389,7 +389,7 @@ get '/admin' do
|
|||
slim :'admin'
|
||||
end
|
||||
|
||||
def ban_site(sitename)
|
||||
def ban_site(username)
|
||||
site = Site[username: params[:username]]
|
||||
|
||||
return false if site.nil?
|
||||
|
|
Loading…
Add table
Reference in a new issue