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
|
-
|
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
|
data/lib/user_mgmt/version.rb
CHANGED