user_mgmt 0.5.9 → 0.5.10

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,12 +2,12 @@ module UserMgmt
2
2
  module ApplicationHelper
3
3
 
4
4
  def user_logged_in?
5
- # return false if cookies[:user_session_id] == nil
5
+ return false if cookies[:user_session_id] == nil
6
6
  status = user_info(cookies[:user_session_id])[:status]
7
7
  if status == 200
8
8
  return true
9
9
  else
10
- # cookies.delete(:user_session_id)
10
+ cookies.delete(:user_session_id)
11
11
  return false
12
12
  end
13
13
  end
@@ -1,3 +1,3 @@
1
1
  module UserMgmt
2
- VERSION = "0.5.9"
2
+ VERSION = "0.5.10"
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.5.9
4
+ version: 0.5.10
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: