diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-07-07 09:36:04 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-07-07 09:36:04 +0000 |
commit | 3b207ee77caf47953fb436099b384099c97ff16b (patch) | |
tree | d849bcd26968b13467f66cb4b9e7b1cc4c38043e /db/migrate/20120707064544_add_auth_sources_timeout.rb | |
parent | 553066e804dd5796ac4f8d1d775cfeb5670d239f (diff) | |
download | redmine-3b207ee77caf47953fb436099b384099c97ff16b.tar.gz redmine-3b207ee77caf47953fb436099b384099c97ff16b.zip |
Adds a configurable timeout for LDAP authentication (#8978).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9931 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'db/migrate/20120707064544_add_auth_sources_timeout.rb')
-rw-r--r-- | db/migrate/20120707064544_add_auth_sources_timeout.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/db/migrate/20120707064544_add_auth_sources_timeout.rb b/db/migrate/20120707064544_add_auth_sources_timeout.rb new file mode 100644 index 000000000..40f467810 --- /dev/null +++ b/db/migrate/20120707064544_add_auth_sources_timeout.rb @@ -0,0 +1,9 @@ +class AddAuthSourcesTimeout < ActiveRecord::Migration + def up + add_column :auth_sources, :timeout, :integer + end + + def self.down + remove_column :auth_sources, :timeout + end +end |