reviewed-auth 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/reviewed-auth/login_controller.rb +1 -1
- data/lib/reviewed-auth/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 542b1439dc87328027801c922afdb168bf7b9371
|
4
|
+
data.tar.gz: 2ba5ba173b70fb2c9fb438cdef0ed1ab2cc8ca28
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 885a4b716669a52cba3aaaad67334917fa8a2623b404190b9dc8c9747e33a6dafa252c497cffdd506e7fe3b95fda7b3f9b2a41f45d0b3bcc0f3e998497cdb466
|
7
|
+
data.tar.gz: 74f1b45a62efc7f031913028c58b923f5f1e861069d9b24987c064bf423149ce8f31ff53a90c8cd4141874abe368d9cef30f01b68bdb68391873332fffa0ddee
|
@@ -58,7 +58,7 @@ module Reviewed
|
|
58
58
|
end
|
59
59
|
|
60
60
|
def return_to_url(params)
|
61
|
-
uri = URI(params['return_url'])
|
61
|
+
uri = URI(params['return_url'] || 'http://www.reviewed.com')
|
62
62
|
uri_params = params.reject { |k, v| k == 'return_url' }
|
63
63
|
query_string = ::URI.encode_www_form(uri_params)
|
64
64
|
uri.query = nil
|