orange 0.0.14 → 0.0.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -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
|