orange 0.0.15 → 0.1.0
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.
|
@@ -66,7 +66,7 @@ module Orange::Middleware
|
|
|
66
66
|
end
|
|
67
67
|
|
|
68
68
|
def need_to_handle?(packet)
|
|
69
|
-
@handle && ([@login, @logout].include? packet.
|
|
69
|
+
@handle && ([@login, @logout].include? packet.request.path)
|
|
70
70
|
end
|
|
71
71
|
|
|
72
72
|
def handle_openid(packet)
|
|
@@ -134,7 +134,7 @@ module Orange::Middleware
|
|
|
134
134
|
:required => [:email, "http://axschema.org/contact/email"]
|
|
135
135
|
)
|
|
136
136
|
)
|
|
137
|
-
packet[:content] = 'Got openID?'
|
|
137
|
+
packet[:content] = 'Got openID?'
|
|
138
138
|
return packet.finish
|
|
139
139
|
end
|
|
140
140
|
# Show login form, if necessary
|