$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();
$result = $db->prepare('UPDATE `auth_sessions` SET `logged_in` = FALSE WHERE `id` = :sessid;');
if (!$result->execute(array(':sessid' => $session['id']))) {
$utils->log('logout_failure', 'session: '.$session['id']);
- $errors[] = _('The email address is invalid.');
+ $errors[] = _('Unexpected error while logging out.');
}
$session['logged_in'] = 0;
}