shibboleth-rails 0.5.2 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -19,6 +19,8 @@ module Shibboleth::Rails
19
19
  User.find(session[:simulate_id])
20
20
  elsif authenticated?
21
21
  User.find_or_create_from_shibboleth(shibboleth)
22
+ elsif request.xhr?
23
+ User.find_by_id(session[:user_id])
22
24
  end
23
25
  end
24
26
 
@@ -1,5 +1,5 @@
1
1
  module Shibboleth
2
2
  module Rails
3
- VERSION = "0.5.2"
3
+ VERSION = "0.6.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shibboleth-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.2
4
+ version: 0.6.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-12-20 00:00:00.000000000 Z
12
+ date: 2013-01-02 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails