Fixed NoMethodError.

This commit is contained in:
Martin Edenhofer 2015-05-05 08:06:29 +02:00
parent a5b8f28e8e
commit 08f2c924ef

View file

@ -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