app/controllers/fiona7/sessions_controller.rb in infopark_fiona7-1.1.0.0.10 vs app/controllers/fiona7/sessions_controller.rb in infopark_fiona7-1.2.0.0.0

- old
+ new

@@ -40,8 +40,11 @@ def valid_credentials?(login, password) Reactor::Sudo.su(Fiona7.root) do Reactor::Cm::User.new(login).has_password?(password) end + rescue Reactor::Cm::XmlRequestError => e + Rails.logger.error("Error logging in: #{e.message}") + false end end end