summaryrefslogtreecommitdiffstats
path: root/core/Controller
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2017-01-10 17:44:39 +0100
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2017-01-10 17:50:29 +0100
commite4b3ba65900f4ca4d879d7aa9702ea6a8b0bfee3 (patch)
treea0b71bc4067d9f7a3de2438e8fe2cda173471651 /core/Controller
parent96d355984dac01b8bd9898ea6566ab341af811aa (diff)
downloadnextcloud-server-e4b3ba65900f4ca4d879d7aa9702ea6a8b0bfee3.tar.gz
nextcloud-server-e4b3ba65900f4ca4d879d7aa9702ea6a8b0bfee3.zip
Create unified css file and merge all needed data into this file
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'core/Controller')
-rw-r--r--core/Controller/LoginController.php2
-rw-r--r--core/Controller/SetupController.php2
2 files changed, 3 insertions, 1 deletions
diff --git a/core/Controller/LoginController.php b/core/Controller/LoginController.php
index 3c81ed5242a..a2d490cb240 100644
--- a/core/Controller/LoginController.php
+++ b/core/Controller/LoginController.php
@@ -170,6 +170,8 @@ class LoginController extends Controller {
$parameters['user_autofocus'] = true;
}
+ \OC_Util::addStyle('guest');
+
return new TemplateResponse(
$this->appName, 'login', $parameters, 'guest'
);
diff --git a/core/Controller/SetupController.php b/core/Controller/SetupController.php
index 930ec82dbb8..87508423cd3 100644
--- a/core/Controller/SetupController.php
+++ b/core/Controller/SetupController.php
@@ -92,7 +92,7 @@ class SetupController {
\OC_Util::addVendorScript('strengthify/jquery.strengthify');
\OC_Util::addVendorStyle('strengthify/strengthify');
- \OC_Util::addStyle('setup');
+ \OC_Util::addStyle('guest');
\OC_Util::addScript('setup');
\OC_Template::printGuestPage('', 'installation', $parameters);
}