lib/auth_lh/authentication.rb in auth-lh-0.1.0 vs lib/auth_lh/authentication.rb in auth-lh-0.1.1
- old
+ new
@@ -27,12 +27,12 @@
def find_external(login)
all_external.find { |x| x.login == login.to_s }
end
- def find_logged_user(session_token, remote_ip)
+ def find_current_user(session_token, remote_ip)
if (session_token.present? && (@session_token != session_token))
- response = AuthLh.logged_user(session_token, remote_ip)
+ response = AuthLh.get_current_user(session_token, remote_ip)
if response.nil?
@cached_logged_user = nil
@session_token = nil
@login_error = nil