From 08f2c924efd78e11bb1a1ce4ba29ba88410e70fe Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Tue, 5 May 2015 08:06:29 +0200 Subject: [PATCH] Fixed NoMethodError. --- lib/auth.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/auth.rb b/lib/auth.rb index 5f85ab982..edcb8b019 100644 --- a/lib/auth.rb +++ b/lib/auth.rb @@ -48,7 +48,7 @@ returns # auth ok if user_auth - Rails.logger.info "Authentication against #{config_item[:adapter]} for user #{user.login} ok." + Rails.logger.info "Authentication against #{config_item[:adapter]} for user #{user_auth.login} ok." # remember last login date user_auth.update_last_login