mirror of
https://github.com/neocities/neocities.git
synced 2025-08-01 23:31:52 +02:00
nsfw flag
This commit is contained in:
parent
d661711204
commit
3c2d97046d
2 changed files with 9 additions and 1 deletions
2
app.rb
2
app.rb
|
@ -54,7 +54,7 @@ end
|
|||
|
||||
post '/create' do
|
||||
dashboard_if_signed_in
|
||||
@site = Site.new username: params[:username], password: params[:password], email: params[:email], new_tags: params[:tags]
|
||||
@site = Site.new username: params[:username], password: params[:password], email: params[:email], new_tags: params[:tags], is_nsfw: params[:is_nsfw]
|
||||
|
||||
recaptcha_is_valid = recaptcha_valid?
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue