isaca-rails 0.5.3 → 0.5.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/isaca/rails/authentication.rb +4 -2
- data/lib/isaca/rails/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 700f73c4157cab70ecffb3b4254b656d0a287edbdfa38954a7d5745fb12b6825
|
4
|
+
data.tar.gz: 3670014ec5c3bffb8fa6ebd48d6d2addaf4c1014e2199938260e3d112264a956
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 34ce9a5babf90bd10becd5ff53ace1dab4d1150e901775c0429719d1f125365fd5a3a69378a608829b1e8eae62dd777e6ec5fa548da428e5829440d59d93835f
|
7
|
+
data.tar.gz: b65bc3a5e3386a8b867bf31fb1019406d98d141b64c22999b667dbf150101be8324b8e8e9c944dd2f7ed1e35d23d8270bd3ef2b970aa5bdb3335c3a3e5743145
|
@@ -41,8 +41,10 @@ module Isaca
|
|
41
41
|
if @current_isaca_user
|
42
42
|
@current_isaca_user
|
43
43
|
else
|
44
|
-
|
45
|
-
|
44
|
+
unless session[:user_id].blank?
|
45
|
+
@current_isaca_user = Isaca::Rails.configuration.user_model.find(session[:user_id])
|
46
|
+
end
|
47
|
+
end
|
46
48
|
end
|
47
49
|
|
48
50
|
# Method used to to login a user and set the token
|
data/lib/isaca/rails/version.rb
CHANGED