user_mgmt 0.6.0 → 0.6.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -13,8 +13,7 @@ module UserMgmt
13
13
  end
14
14
 
15
15
  def current_user
16
- return nil unless user_logged_in?
17
- @current_user ||= user_info(cookies[:user_session_id])[:body]
16
+ @current_user ||= user_info(cookies[:user_session_id])[:body] unless cookies[:user_session_id] == nil
18
17
  end
19
18
 
20
19
  def sign_up email, password, password_confirmation, host=UserMgmt.external_database_URI
@@ -1,3 +1,3 @@
1
1
  module UserMgmt
2
- VERSION = "0.6.0"
2
+ VERSION = "0.6.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: user_mgmt
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.6.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: