orange 0.0.15 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
@@ -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
|