From cba36ec01749c50c8de44be3022809fe818e885f Mon Sep 17 00:00:00 2001
From: "Alexander A. Klimov" <alexander.klimov@netways.de>
Date: Wed, 27 May 2015 15:13:53 +0200
Subject: [PATCH] Ignore the preferences' loadability during authentication

fixes #8956
---
 library/Icinga/Authentication/Manager.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/library/Icinga/Authentication/Manager.php b/library/Icinga/Authentication/Manager.php
index 993475636..5705b493b 100644
--- a/library/Icinga/Authentication/Manager.php
+++ b/library/Icinga/Authentication/Manager.php
@@ -70,7 +70,7 @@ class Manager
                     $user
                 );
                 $preferences = new Preferences($preferencesStore->load());
-            } catch (NotReadableError $e) {
+            } catch (Exception $e) {
                 Logger::error(
                     new IcingaException(
                         'Cannot load preferences for user "%s". An exception was thrown',