Make LDAP login attribute configurable
authorChristian Johansen <christian@gitorious.org>
Mon, 19 Dec 2011 13:15:10 +0000 (14:15 +0100)
committerChristian Johansen <christian@gitorious.org>
Mon, 19 Dec 2011 13:15:10 +0000 (14:15 +0100)
commita2d78dcdf4de87c82cf8a6aa9c0346008fc8f12b
treebcac55d2d483b376d351f51f841eedceb2a8ada4
parent86d69617af4d664bb595af255dc438e412dc82e5
Make LDAP login attribute configurable

  - Defaults to CN like previously
  - Also allows e.g. uid, which is common
config/authentication.sample.yml
lib/gitorious/authentication/ldap_authentication.rb
test/unit/lib/gitorious/authentication/ldap_authentication_test.rb