Second part of KaiRo bug 371 - Make design somewhat more appealing, make it work...
[authserver.git] / index.php
index be42f59e47d1ed415d260d50aed5ff0d8d94eb54..ac22847af492a8e5239ab5de737d68ca794dd2b7 100644 (file)
--- a/index.php
+++ b/index.php
@@ -17,6 +17,11 @@ $head->appendJSFile('authsystem.js');
 $title->appendText('KaiRo.at Authentication Server');
 $h1 = $body->appendElement('h1', 'KaiRo.at Authentication Server');
 
+// Make the document not be scaled on mobile devices.
+$vpmeta = $head->appendElement('meta');
+$vpmeta->setAttribute('name', 'viewport');
+$vpmeta->setAttribute('content', 'width=device-width, height=device-height');
+
 $errors = $utils->checkForSecureConnection();
 $utils->sendSecurityHeaders();