Feature #675 » redmine_environmentrb_recaptcha.diff
| environment.rb (working copy) | ||
|---|---|---|
|
config.action_mailer.smtp_settings = {
|
||
|
:address => "127.0.0.1",
|
||
|
:port => 25,
|
||
|
:domain => "somenet.foo",
|
||
|
:authentication => :login,
|
||
|
:user_name => "redmine@somenet.foo",
|
||
|
:password => "redmine",
|
||
|
:domain => "mepemepe.com",
|
||
|
# :authentication => :login,
|
||
|
# :user_name => "redmine@somenet.foo",
|
||
|
# :password => "redmine",
|
||
|
}
|
||
|
|
||
|
config.action_mailer.perform_deliveries = true
|
||
| ... | ... | |
|
GLoc.load_localized_strings
|
||
|
GLoc.set_config(:raise_string_not_found_errors => false)
|
||
|
ENV['RECAPTCHA_PUBLIC_KEY'] = 'your_public_recaptcha_key'
|
||
|
ENV['RECAPTCHA_PRIVATE_KEY'] = 'your_private_recaptcha_key'
|
||
|
require 'redmine'
|
||