diff options
author | Björn Schießle <bjoern@schiessle.org> | 2017-01-25 11:45:36 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-25 11:45:36 +0100 |
commit | f469b3e9587e9eae2cce924241f90baa1da30b31 (patch) | |
tree | c60f89505b9c37873444e0e31eea37ab90df950b | |
parent | 10a55e6006a2d9c2635370cb3d3f48273db45968 (diff) | |
parent | 46ef0f832df60be0a608d2cf770a06f4e26f1200 (diff) | |
download | nextcloud-server-f469b3e9587e9eae2cce924241f90baa1da30b31.tar.gz nextcloud-server-f469b3e9587e9eae2cce924241f90baa1da30b31.zip |
Merge pull request #3223 from nextcloud/fix-public-page-style
Fix public page style
-rw-r--r-- | lib/private/TemplateLayout.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/TemplateLayout.php b/lib/private/TemplateLayout.php index 9b425bc0568..7ded109f76b 100644 --- a/lib/private/TemplateLayout.php +++ b/lib/private/TemplateLayout.php @@ -164,7 +164,7 @@ class TemplateLayout extends \OC_Template { // Do not load scss for update, errors, installation or login page if(\OC::$server->getSystemConfig()->getValue('installed', false) && !\OCP\Util::needUpgrade() - && \OC_User::isLoggedIn()) { + && strpos(\OC::$server->getRequest()->getRequestUri(), \OC::$server->getURLGenerator()->linkToRoute('core.login.tryLogin')) !== 0) { $cssFiles = self::findStylesheetFiles(\OC_Util::$styles); } else { $cssFiles = self::findStylesheetFiles(\OC_Util::$styles, false); |