Rewrite of Auth and SSO module layer.
This commit is contained in:
parent
300453e2c1
commit
098f1f845f
1 changed files with 2 additions and 1 deletions
|
@ -7,7 +7,7 @@ Setting.create_or_update(
|
|||
:area => 'Security::Authentication',
|
||||
:description => 'Enables user authentication via LDAP.',
|
||||
:state => {
|
||||
:adapter => 'ldap',
|
||||
:adapter => 'Auth::Ldap',
|
||||
:host => 'localhost',
|
||||
:port => 389,
|
||||
:bind_dn => 'cn=Manager,dc=example,dc=org',
|
||||
|
@ -45,6 +45,7 @@ else
|
|||
:created_by_id => 1
|
||||
)
|
||||
end
|
||||
|
||||
class AuthTest < ActiveSupport::TestCase
|
||||
test 'auth' do
|
||||
tests = [
|
||||
|
|
Loading…
Reference in a new issue