adding warning to startup about making sure mongo is bound to localhost

This commit is contained in:
maxwell 2010-11-29 14:50:38 -08:00
parent b0ff8f0f60
commit 808b4af5c7

View file

@ -14,3 +14,4 @@ if defined?(PhusionPassenger)
end
Magent.connection = MongoMapper.connection
puts "Security Warning (11/29/2010): if you are using Diaspora on the internet, please make sure your mongodb is started with '--bind 127.0.0.1' or you are using a database password"