orange 0.0.14 → 0.0.15
Sign up to get free protection for your applications and to get access to all the features.
@@ -34,7 +34,7 @@ module Orange::Middleware
|
|
34
34
|
packet['user.id'] ||= (packet.session['user.id'] || false)
|
35
35
|
if @openid && need_to_handle?(packet)
|
36
36
|
ret = handle_openid(packet)
|
37
|
-
return ret
|
37
|
+
return ret unless ret.blank? # unless handle_openid returns false, exit immediately
|
38
38
|
end
|
39
39
|
unless access_allowed?(packet)
|
40
40
|
packet.session['user.after_login'] = packet.request.path
|