Feature #675 » redmine_environmentrb_recaptcha.diff
| environment.rb (working copy) | ||
|---|---|---|
| 56 | 56 |
config.action_mailer.smtp_settings = {
|
| 57 | 57 |
:address => "127.0.0.1", |
| 58 | 58 |
:port => 25, |
| 59 |
:domain => "somenet.foo",
|
|
| 60 |
:authentication => :login, |
|
| 61 |
:user_name => "redmine@somenet.foo", |
|
| 62 |
:password => "redmine", |
|
| 59 |
:domain => "mepemepe.com",
|
|
| 60 |
# :authentication => :login,
|
|
| 61 |
# :user_name => "redmine@somenet.foo",
|
|
| 62 |
# :password => "redmine",
|
|
| 63 | 63 |
} |
| 64 | 64 |
|
| 65 | 65 |
config.action_mailer.perform_deliveries = true |
| ... | ... | |
| 98 | 98 |
GLoc.load_localized_strings |
| 99 | 99 |
GLoc.set_config(:raise_string_not_found_errors => false) |
| 100 | 100 | |
| 101 |
ENV['RECAPTCHA_PUBLIC_KEY'] = 'your_public_recaptcha_key' |
|
| 102 |
ENV['RECAPTCHA_PRIVATE_KEY'] = 'your_private_recaptcha_key' |
|
| 103 | ||
| 101 | 104 |
require 'redmine' |
| 102 | 105 | |