1
0
Fork 0
mirror of https://github.com/omniauth/omniauth.git synced 2022-11-09 12:31:49 -05:00

move call_app! out of credential error try/catch block.

This commit is contained in:
Ping Yu 2011-01-24 21:08:38 -06:00
parent fdd92dba07
commit 6c4ca27f97
2 changed files with 2 additions and 2 deletions

View file

@ -25,7 +25,7 @@ See OmniAuth::Strategies::CAS::Configuration for more configuration options.
== LDAP
Use the LDAP strategy as a middleware in your applicaiton:
Use the LDAP strategy as a middleware in your application:
require 'omniauth/enterprise'
use OmniAuth::Strategies::LDAP,

View file

@ -65,10 +65,10 @@ module OmniAuth
@env['omniauth.auth'] = auth_hash
call_app!
rescue Exception => e
fail!(:invalid_credentials, e)
end
call_app!
end
def auth_hash