mirror of
https://github.com/neocities/neocities.git
synced 2025-08-01 23:31:52 +02:00
fix password reset, fix ip blocker, turn off js for now
This commit is contained in:
parent
6245319bc1
commit
93f7918340
4 changed files with 21 additions and 8 deletions
|
@ -55,6 +55,19 @@ if ENV['RACK_ENV'] == 'development' && Server.count == 0
|
|||
Server.create ip: '127.0.0.1', slots_available: 999999
|
||||
end
|
||||
|
||||
Mail.defaults do
|
||||
#options = { :address => "smtp.gmail.com",
|
||||
# :port => 587,
|
||||
# :domain => 'your.host.name',
|
||||
# :user_name => '<username>',
|
||||
# :password => '<password>',
|
||||
# :authentication => 'plain',
|
||||
# :enable_starttls_auto => true }
|
||||
|
||||
options = {}
|
||||
delivery_method :sendmail, options
|
||||
end
|
||||
|
||||
class Sinatra::Base
|
||||
alias_method :render_original, :render
|
||||
def render(engine, data, options = {}, locals = {}, &block)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue