incline 0.2.6 → 0.2.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/app/controllers/incline/sessions_controller.rb +3 -1
- data/lib/incline/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: 8cfbf17b26c16120554b3867cb1ce1f33d3bc39d
|
4
|
+
data.tar.gz: 8fdfd9a49f863281010e5c0a50e373a11a984b09
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 886b0af6a73cd3e11dd8485a36d73f353d512ed49ea1b38f89352e5ccf4f7ab15444c4d011eeae49b679c005e15f0e6844acb68ce1524e7b8704b8d68889eb4a
|
7
|
+
data.tar.gz: 6239c29b73ef51dc972f489bd9d67c1e75211a3cdd09cb7776270d8f56fef89352e1aa7e4206762cea20e4fd658a1499cff216889db2aa9a392a7ad2835b7a0c
|
data/Gemfile.lock
CHANGED
@@ -12,7 +12,9 @@ module Incline
|
|
12
12
|
##
|
13
13
|
# GET /incline/login
|
14
14
|
def new
|
15
|
-
|
15
|
+
# Before displaying the login form, make sure an external auth system shouldn't be used.
|
16
|
+
auth_url = ::Incline::UserManager.begin_external_authentication(request)
|
17
|
+
redirect_to auth_url unless auth_url.blank?
|
16
18
|
end
|
17
19
|
|
18
20
|
##
|
data/lib/incline/version.rb
CHANGED