You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using multiple authenticators, LDAP and SQLMd5 (in that order). The latter is not loaded into the path, so init_authenticators! loads the first one, and next raises NameError causing the rescue block to again load all authenticators, and add it to the auth array.
Now auth array has 3 elements (LDAP appended twice and then SQLMd5). This causes auth.zip(config[:authenticators]) to fail.
This looks like a trivial fix, just put rescue block inside the loop.
The text was updated successfully, but these errors were encountered:
viranch
added a commit
to viranch/rubycas-server
that referenced
this issue
Dec 5, 2014
I'm using multiple authenticators, LDAP and SQLMd5 (in that order). The latter is not loaded into the path, so
init_authenticators!
loads the first one, and next raisesNameError
causing the rescue block to again load all authenticators, and add it to theauth
array.Now
auth
array has 3 elements (LDAP appended twice and then SQLMd5). This causesauth.zip(config[:authenticators])
to fail.This looks like a trivial fix, just put rescue block inside the loop.
The text was updated successfully, but these errors were encountered: